use fputs instead of printf - patch by Uwe Ohse
authorVladimir Nadvornik <nadvornik@suse.cz>
Mon, 26 May 2008 18:22:08 +0000 (18:22 +0000)
committerVladimir Nadvornik <nadvornik@suse.cz>
Mon, 26 May 2008 18:22:08 +0000 (18:22 +0000)
src/ui_fileops.c

index a914dd6..4c0956d 100644 (file)
@@ -44,7 +44,7 @@ void print_term(const gchar *text_utf8)
        gchar *text_l;
 
        text_l = g_locale_from_utf8(text_utf8, -1, NULL, NULL, NULL);
-       printf((text_l) ? text_l : text_utf8);
+       fputs((text_l) ? text_l : text_utf8, stdout);
        g_free(text_l);
 }