// text buffer drawing functions
// ============================================================================
-#define MAX_LINES_FROM_FILE 1024
-
char *GetTextBufferFromFile(char *filename, int max_lines)
{
File *file;
int line_spacing, int mask_mode, boolean autowrap,
boolean centered, boolean parse_comments)
{
- char *text_buffer = GetTextBufferFromFile(filename, MAX_LINES_FROM_FILE);
+ char *text_buffer = GetTextBufferFromFile(filename, MAX_OUTPUT_LINESIZE);
int num_lines_printed = DrawTextBuffer(x, y, text_buffer, font_nr,
line_length, cut_length, max_lines,
line_spacing, mask_mode, autowrap,