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