- fixed bug: strcat used instead of strcpy.

is dangerous on unitialized stack string...
This commit is contained in:
Ton Roosendaal
2003-10-25 22:43:08 +00:00
parent 37edc132dd
commit 7c6ddc2bd3

View File

@@ -449,7 +449,7 @@ static char *ipo_modeselect_pup(void)
strcpy(string, "Display IPO type: %t");
strcat(formatstring, "|%s %%x%d");
strcpy(formatstring, "|%s %%x%d");
if(OBACT) {
sprintf(tmpstr,formatstring,"Object",ID_OB);