Remove line breaks from g_warning()
[claws.git] / src / prefs_display_header.c
index 7a06e4aa9fc5cd2d31f33b597cc360dd43ab8085..9613bdb0524475204577debfee0675c44f48ab8d 100644 (file)
@@ -470,7 +470,7 @@ static void prefs_display_header_write_config(void)
                             DISPLAY_HEADER_RC, NULL);
 
        if ((pfile = prefs_write_open(rcpath)) == NULL) {
-               g_warning("failed to write configuration to file\n");
+               g_warning("failed to write configuration to file");
                g_free(rcpath);
                return;
        }
@@ -495,7 +495,7 @@ static void prefs_display_header_write_config(void)
        g_free(rcpath);
 
        if (prefs_file_close(pfile) < 0) {
-               g_warning("failed to write configuration to file\n");
+               g_warning("failed to write configuration to file");
                return;
        }
 }