[gimp] plug-ins: Make sure to flush output in ts_stdout_output_func()
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Subject: [gimp] plug-ins: Make sure to flush output in ts_stdout_output_func()
- Date: Thu, 28 May 2009 15:06:02 -0400 (EDT)
commit b559354af1f5733e7495c933ecd9093bd886bf55
Author: Christopher Montgomery <xiphmont gmail com>
Date: Thu May 28 21:06:53 2009 +0200
plug-ins: Make sure to flush output in ts_stdout_output_func()
---
plug-ins/script-fu/scheme-wrapper.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/plug-ins/script-fu/scheme-wrapper.c b/plug-ins/script-fu/scheme-wrapper.c
index 9212801..fbcf81b 100644
--- a/plug-ins/script-fu/scheme-wrapper.c
+++ b/plug-ins/script-fu/scheme-wrapper.c
@@ -329,6 +329,7 @@ ts_stdout_output_func (TsOutputType type,
if (len < 0)
len = strlen (string);
fprintf (stdout, "%.*s", len, string);
+ fflush (stdout);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]