From: Marco Pesenti Gritti Date: Mon, 6 Jun 2005 11:37:14 +0000 (+0000) Subject: Fix crash when priting gs error messages. X-Git-Tag: EVINCE_0_3_3~274 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=dc832e5101ba2b1a890ca71e386295dbc4b4622e;p=evince.git 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 d7e1e2f7..f09682f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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): diff --git a/ps/ps-document.c b/ps/ps-document.c index 29a0638a..00127731 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); } }