From: John Darrington Date: Tue, 28 Apr 2009 23:42:04 +0000 (+0800) Subject: Fix compilation error on Cygwin. X-Git-Tag: v0.7.3~136 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1307953ce052c1d8f3e2ec72ef6e1232aabdf5f5;p=pspp-builds.git Fix compilation error on Cygwin. Fixes bug #26379 --- 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);