From dc832e5101ba2b1a890ca71e386295dbc4b4622e Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 6 Jun 2005 11:37:14 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ ps/ps-document.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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); } } -- 2.43.5