diff options
author | John Lindgren <john@jlindgren.net> | 2022-10-13 14:00:12 +0100 |
---|---|---|
committer | Philip Withnall <pwithnall@endlessos.org> | 2022-10-13 14:00:12 +0100 |
commit | d01fb412801ddc55843f1e1642d0fef0afba441a (patch) | |
tree | c392d0e32462d4ac1a5faa4129a2312f6ff643d6 | |
parent | 057a9e57739fd5580ef920f6616aa55c3506d1c3 (diff) | |
download | glib-d01fb412801ddc55843f1e1642d0fef0afba441a.tar.gz |
gmessages: Add missing trailing newline in fallback log handler
This makes the fallback log handler match the behaviour of the default
log handlers.
Spotted as part of https://gitlab.gnome.org/GNOME/glib/-/issues/2753
-rw-r--r-- | glib/gmessages.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glib/gmessages.c b/glib/gmessages.c index fb1297f8a..e197f1707 100644 --- a/glib/gmessages.c +++ b/glib/gmessages.c @@ -3159,6 +3159,7 @@ _g_log_fallback_handler (const gchar *log_domain, write_string (stream, level_prefix); write_string (stream, ": "); write_string (stream, message); + write_string (stream, "\n"); } static void |