Allow up to 35x13 chars in verbose messages (including lua messages).
Fixes #467. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1883 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
836c224169
commit
9acd46841d
@ -1132,7 +1132,7 @@ void Warning_message(char * message)
|
||||
Display_cursor();
|
||||
}
|
||||
|
||||
/// Window that shows a big message (up to 34x12), and waits for a click on OK.
|
||||
/// Window that shows a big message (up to 35x13), and waits for a click on OK.
|
||||
/// On call: Cursor must be displayed
|
||||
/// On exit: Cursor is displayed
|
||||
void Verbose_message(const char *caption, const char * message )
|
||||
@ -1148,7 +1148,7 @@ void Verbose_message(const char *caption, const char * message )
|
||||
Open_window(300,160,caption);
|
||||
|
||||
// Word-wrap the message
|
||||
for (line=0; line < 12 && *message!='\0'; line++)
|
||||
for (line=0; line < 13 && *message!='\0'; line++)
|
||||
{
|
||||
last_space = -1;
|
||||
for (nb_char=0; nb_char<35 && message[nb_char]!='\0'; nb_char++)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user