projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed bug with stopping editor text input before reaching the last line
[rocksndiamonds.git]
/
src
/
editor.c
diff --git
a/src/editor.c
b/src/editor.c
index c993b6ea5803e052b90f3a1fb037dff3cf60e0e1..2bf5543c8314fa4f345ebc88a4a2968a2141e9cd 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-12411,7
+12411,7
@@
static int DrawLevelText(int sx, int sy, char letter, int mode)
break;
case TEXT_NEWLINE:
- if (sy + 1 < ed_fieldy
- 1 && ly + 1 < lev_fieldy - 1
)
+ if (sy + 1 < ed_fieldy
&& ly + 1 < lev_fieldy
)
DrawLevelText(start_sx, sy + 1, 0, TEXT_SETCURSOR);
else
DrawLevelText(0, 0, 0, TEXT_END);