Re: [gtk-list] bug in gtklabel.c



Thanks, committed.

	JEff




Chi-Deok Hwang wrote:
> 
> 
> word->space was not unintialized in some case.
> 
> 
> --- gtklabel.c.orig	Thu Dec 31 08:40:30 1998
> +++ gtklabel.c	Thu Dec 31 08:40:37 1998
> @@ -568,7 +568,7 @@
>  	  if (label->jtype == GTK_JUSTIFY_FILL)
>  	    word->space = (space_width * 3 + 1) / 2;
>  	  else
> -	    word->space += space_width * nspaces;
> +	    word->space = space_width * nspaces;
>  	}
>        else
>  	{
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 



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