bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #26379] Issue with Cygwin


From: Unknown-1
Subject: PSPP-BUG: [bug #26379] Issue with Cygwin
Date: Tue, 28 Apr 2009 07:28:03 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; nl; rv:1.9.0.8) Gecko/2009032600 SUSE/3.0.8-1.1.1 Firefox/3.0.8

URL:
  <http://savannah.gnu.org/bugs/?26379>

                 Summary: Issue with Cygwin
                 Project: PSPP
            Submitted by: unknown_one
            Submitted on: Tue 28 Apr 2009 07:28:01 AM GMT
                Category: Compilation/Portability
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

Hi

../src/ui/gui/psppire-output-window.c contains an error. "ov->" should most
likely be "ow->".

A path provided by Michel Boaventura is:

> 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);
>






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?26379>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]