From 1307953ce052c1d8f3e2ec72ef6e1232aabdf5f5 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Wed, 29 Apr 2009 07:42:04 +0800 Subject: [PATCH] Fix compilation error on Cygwin. Fixes bug #26379 --- src/ui/gui/psppire-output-window.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui/gui/psppire-output-window.c b/src/ui/gui/psppire-output-window.c index 106b4ad0..7b254b95 100644 --- a/src/ui/gui/psppire-output-window.c +++ b/src/ui/gui/psppire-output-window.c @@ -327,16 +327,16 @@ reload_viewer (PsppireOutputWindow *ow) } /* Delete all the entire buffer */ - gtk_text_buffer_get_start_iter (ov->buffer, &start_iter); - gtk_text_buffer_delete (ov->buffer, &start_iter, &end_iter); + gtk_text_buffer_get_start_iter (ow->buffer, &start_iter); + gtk_text_buffer_delete (ow->buffer, &start_iter, &end_iter); - gtk_text_buffer_get_start_iter (ov->buffer, &start_iter); + gtk_text_buffer_get_start_iter (ow->buffer, &start_iter); /* Read in the next lot of text */ while (fgets (line, viewer_width + 1, fp) != NULL) { chars_inserted = TRUE; - gtk_text_buffer_insert (ov->buffer, &start_iter, line, -1); + gtk_text_buffer_insert (ow->buffer, &start_iter, line, -1); } fclose (fp); -- 2.30.2