Fixed issue 190: buffer overflow in splash screen.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@903 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
15a8c67db7
commit
cadb762640
@ -126,10 +126,11 @@ void Message_out_of_memory(void)
|
|||||||
|
|
||||||
void Button_Message_initial(void)
|
void Button_Message_initial(void)
|
||||||
{
|
{
|
||||||
char str[21];
|
char str[30];
|
||||||
int x_pos,offs_y,x,y;
|
int x_pos,offs_y,x,y;
|
||||||
|
|
||||||
sprintf(str,"GrafX2 version %s",Program_version);
|
strcpy(str,"GrafX2 version ");
|
||||||
|
strcat(str,Program_version);
|
||||||
Open_window(260,172,str);
|
Open_window(260,172,str);
|
||||||
|
|
||||||
Window_display_frame_in(10,20,239,62);
|
Window_display_frame_in(10,20,239,62);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user