bug in gtklabel.c




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
 	{



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