[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: |
unknown-1 |
Subject: |
Re: PSPP-BUG: Problem when compiling pspp-master 20090228 on Cygwin |
Date: |
Sat, 25 Apr 2009 14:45:38 +0200 |
Hi
It seems the next patch never made it. Cygwin stil has a problem with ov.
Have fun
2009/3/1 Michel Boaventura <address@hidden>:
> 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);
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: PSPP-BUG: Problem when compiling pspp-master 20090228 on Cygwin,
unknown-1 <=