X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=1ec48e18f5c19486e62cd27a36a7ced35de26ab0;hb=ba702cd338586991ab20176cf5587afbb4d77af7;hp=4c592cf8c2a674ba36efba07f5ea280a1593f9b1;hpb=04575ef0d5f1551715fca1d1def889fd63b5c3ad;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index 4c592cf8..1ec48e18 100644 --- a/src/editor.c +++ b/src/editor.c @@ -7562,8 +7562,8 @@ static int PrintElementDescriptionFromFile(char *filename, int start_line) int max_chars_per_line = (SXSIZE - 2 * pad_x) / font_width; int max_lines_per_screen = (SYSIZE - pad_y) / font_height - 1; - return DrawTextFromFile(sx, sy, filename, font_nr, max_chars_per_line, - max_lines_per_screen, TRUE); + return DrawTextFile(sx, sy, filename, font_nr, max_chars_per_line, -1, + max_lines_per_screen, -1, TRUE, FALSE, FALSE); } static void DrawPropertiesTabulatorGadgets()