[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSPP-BUG: Problem when compiling pspp-master 20090228 on Cygwin
From: |
Michel Boaventura |
Subject: |
Re: PSPP-BUG: Problem when compiling pspp-master 20090228 on Cygwin |
Date: |
Sun, 1 Mar 2009 19:04:06 -0300 |
Hello,
I guess the "ov" entries should be "ow". But it only is used on cygwin
and that's why it works on both linux and mingw.
Can you try the patch above?
diff --git a/src/ui/gui/psppire-output-window.c
b/src/ui/gui/psppire-output-window.c
index 986742d..306fa66 100644
--- a/src/ui/gui/psppire-output-window.c
+++ b/src/ui/gui/psppire-output-window.c
@@ -325,16 +325,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);
change_ov_to_ow.patch
Description: Binary data
Re: PSPP-BUG: Problem when compiling pspp-master 20090228 on Cygwin, Ben Pfaff, 2009/03/02