NULL);
}
-static void DrawInfoScreen_GenericText(int start_pos)
+static void DrawInfoScreen_GenericText(struct WrappedTextInfo *wrapped_text,
+ struct TitleMessageInfo *tmi, int start_pos)
{
- struct TitleMessageInfo *tmi = &readme;
int x = mSX + ALIGNED_TEXT_XPOS(tmi);
int y = mSY + ALIGNED_TEXT_YPOS(tmi);
wrapped_text = GetWrappedTextFile(filename, font, tmi->chars, -1, tmi->lines, -1, -1, -1,
0, -1, tmi->autowrap, tmi->centered, tmi->parse_comments);
- DrawInfoScreen_GenericText(0);
+ DrawInfoScreen_GenericText(wrapped_text, tmi, 0);
}
boolean last_screen = (screen_nr == num_screens - 1);
{
start_pos += SIGN(dy);
- DrawInfoScreen_GenericText(start_pos);
+ DrawInfoScreen_GenericText(wrapped_text, &readme, start_pos);
}
}
}