QTfrontend/drawmapscene.cpp
changeset 7298 a5f2fa95e711
parent 7146 a822413207c9
child 7321 57bd4f201401
--- a/QTfrontend/drawmapscene.cpp	Tue Jun 26 11:08:33 2012 -0400
+++ b/QTfrontend/drawmapscene.cpp	Tue Jun 26 21:13:27 2012 +0400
@@ -224,8 +224,11 @@
             qint16 px = qToBigEndian((qint16)point.x());
             qint16 py = qToBigEndian((qint16)point.y());
             quint8 flags = 0;
-            if(!cnt) flags = 0x80 + params.width;
-            if(params.erasing) flags |= 0x40;
+            if(!cnt)
+            {
+                flags = 0x80 + params.width;
+                if(params.erasing) flags |= 0x40;
+            }
             b.append((const char *)&px, 2);
             b.append((const char *)&py, 2);
             b.append((const char *)&flags, 1);