rnd-20070215-1-src
[rocksndiamonds.git] / src / editor.c
index 4c592cf8c2a674ba36efba07f5ea280a1593f9b1..1ec48e18f5c19486e62cd27a36a7ced35de26ab0 100644 (file)
@@ -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()