]> www.fi.muni.cz Git - evince.git/commitdiff
Fix crash when priting gs error messages.
authorMarco Pesenti Gritti <mpg@redhat.com>
Mon, 6 Jun 2005 11:37:14 +0000 (11:37 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Mon, 6 Jun 2005 11:37:14 +0000 (11:37 +0000)
2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>

        * ps/ps-document.c: (output):

        Fix crash when priting gs error messages.

ChangeLog
ps/ps-document.c

index d7e1e2f7e8736b3dd71f9b01eb5ff9c977ab0e94..f09682f951adf03d016ed44f5ba8a3674976d7fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
+
+       * ps/ps-document.c: (output):
+
+       Fix crash when priting gs error messages.
+
 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
 
        * backend/ev-page-cache.c: (_ev_page_cache_new):
index 29a0638a93c76095d087e2a76211784b938f80f2..001277312952af52e220db6dc411a8c95f7f6116 100644 (file)
@@ -557,7 +557,7 @@ output(gpointer data, gint source, GdkInputCondition condition)
   }
   if(bytes > 0) {
     buf[bytes] = '\0';
-    printf(buf);
+    printf("%s", buf);
   }
 }