diff options
author | akshay-c | 2019-04-11 16:57:56 +0530 |
---|---|---|
committer | akshay-c | 2019-04-11 16:57:56 +0530 |
commit | b0c1405589824fc9f9f464683286cdac7ad139d0 (patch) | |
tree | e28f1efce0fce74e20a95f42e965f02a372b29ee /ldmicro/draw.cpp | |
parent | b874e82bc5a6856c4b2fa4c19f98ab2269daebc6 (diff) | |
download | LDmicroQt-b0c1405589824fc9f9f464683286cdac7ad139d0.tar.gz LDmicroQt-b0c1405589824fc9f9f464683286cdac7ad139d0.tar.bz2 LDmicroQt-b0c1405589824fc9f9f464683286cdac7ad139d0.zip |
Improved cursor performance, simulation timer, drawwindow,scrollbar,closeevent, open-save dialogs, submenu-disabling
Diffstat (limited to 'ldmicro/draw.cpp')
-rw-r--r-- | ldmicro/draw.cpp | 3 |
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); |