Remove line breaks from g_warning()
[claws.git] / src / prefs_customheader.c
index a82e0ecc24292804ffa475bc3cec7176bedd598c..02133f20debe777a98640ea396e0b7de56b48d77 100644 (file)
@@ -398,7 +398,7 @@ static void prefs_custom_header_write_config(PrefsAccount *ac)
        }
 
        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;
        }
@@ -444,7 +444,7 @@ static void prefs_custom_header_write_config(PrefsAccount *ac)
        }
 
        if (prefs_file_close(pfile) < 0) {
-               g_warning("failed to write configuration to file\n");
+               g_warning("failed to write configuration to file");
                return;
        }
 }