X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Feditor.c;h=2bf5543c8314fa4f345ebc88a4a2968a2141e9cd;hp=c993b6ea5803e052b90f3a1fb037dff3cf60e0e1;hb=150e2c478051926d16763c247f76291f81d248cb;hpb=9f40d091d5c9e5104fa90c881b6cb8ab8470d71d 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);