[gimp/gimp-2-6] 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/gimp-2-6] plug-ins: Make sure to flush output in ts_stdout_output_func()
- Date: Thu, 28 May 2009 15:29:40 -0400 (EDT)
commit 3c59c936e075a36d1648cbf38ae12c2577432f74
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 6012bd7..e3daad6 100644
--- a/plug-ins/script-fu/scheme-wrapper.c
+++ b/plug-ins/script-fu/scheme-wrapper.c
@@ -330,6 +330,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]