summaryrefslogtreecommitdiff
path: root/ldmicro/draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/draw.cpp')
-rw-r--r--ldmicro/draw.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldmicro/draw.cpp b/ldmicro/draw.cpp
index d2feca2..b3bec06 100644
--- a/ldmicro/draw.cpp
+++ b/ldmicro/draw.cpp
@@ -396,7 +396,8 @@ static BOOL DrawEndOfLine(HCRDC Hcr, int which, ElemLeaf *leaf, int *cx, int *cy
int gx = *cx/POS_WIDTH;
int gy = *cy/POS_HEIGHT;
- if(CheckBoundsUndoIfFails(gx, gy)) return FALSE;
+ if(CheckBoundsUndoIfFails(gx, gy))
+ return FALSE;
if(gx >= DISPLAY_MATRIX_X_SIZE) oops();
DM_BOUNDS(gx, gy);