From: Holger Schemel Date: Fri, 16 Nov 2018 07:50:26 +0000 (+0100) Subject: fixed bug with stopping editor text input before reaching the last line X-Git-Tag: 4.1.2.0~98 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=150e2c478051926d16763c247f76291f81d248cb;p=rocksndiamonds.git fixed bug with stopping editor text input before reaching the last line --- diff --git a/src/editor.c b/src/editor.c index c993b6ea..2bf5543c 100644 --- 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);