From dc832e5101ba2b1a890ca71e386295dbc4b4622e Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 06 Jun 2005 11:37:14 +0000 Subject: Fix crash when priting gs error messages. 2005-06-06 Marco Pesenti Gritti * ps/ps-document.c: (output): Fix crash when priting gs error messages. --- diff --git a/ChangeLog b/ChangeLog index d7e1e2f..f09682f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2005-06-06 Marco Pesenti Gritti + * ps/ps-document.c: (output): + + Fix crash when priting gs error messages. + +2005-06-06 Marco Pesenti Gritti + * backend/ev-page-cache.c: (_ev_page_cache_new): * backend/ev-page-cache.h: diff --git a/ps/ps-document.c b/ps/ps-document.c index 29a0638..0012773 100644 --- a/ps/ps-document.c +++ b/ps/ps-document.c @@ -557,7 +557,7 @@ output(gpointer data, gint source, GdkInputCondition condition) } if(bytes > 0) { buf[bytes] = '\0'; - printf(buf); + printf("%s", buf); } } -- cgit v0.9.1