]> granicus.if.org Git - graphviz/commitdiff
Fix for bug 1289.
authorerg <devnull@localhost>
Tue, 12 Feb 2008 20:59:59 +0000 (20:59 +0000)
committererg <devnull@localhost>
Tue, 12 Feb 2008 20:59:59 +0000 (20:59 +0000)
cmd/lefty/ws/mswin32/gcanvas.c
cmd/lefty/ws/mswin32/gpcanvas.c

index e08bb32fa39513eb98f91712703578bbc3f58601..0086c824592bd9e0ebdf1ab8577d0e3f536b8985 100644 (file)
@@ -1228,7 +1228,7 @@ static void setgattr (Gwidget_t *widget, Ggattr_t *ap) {
         WCU->gattr.width = width, flag = TRUE;
     style = ap->style;
     if (style != WCU->gattr.style)
-        WCU->gattr.style = style, style = TRUE;
+        WCU->gattr.style = style, flag = TRUE;
 
     if (!flag)
         return;
index ee03cb1520d1fb51a2ae6d87f7b777c65887c579..26cd004ddbabce91515edb45b265eac28955341a 100644 (file)
@@ -1123,7 +1123,7 @@ static void setgattr (Gwidget_t *widget, Ggattr_t *ap) {
         WPU->gattr.width = width, flag = TRUE;
     style = ap->style;
     if (style != WPU->gattr.style)
-        WPU->gattr.style = style, style = TRUE;
+        WPU->gattr.style = style, flag = TRUE;
 
     if (!flag)
         return;