just use the old style strcpy to keep everything as it was, but just make the buf bigger
This commit is contained in:
parent
d89fdac566
commit
a68cff5c3a
|
@ -60,7 +60,8 @@ static void Update(void *data, int arg)
|
|||
*(uint8 *)data=0;
|
||||
seq=ptr=0;
|
||||
have=1;
|
||||
snprintf((char*)bdata, ARRAY_SIZE(bdata), "%s%s", (char*) data + 1, "SUNSOFT"); //mbg merge 7/17/06
|
||||
strcpy((char*) bdata, (char*) data + 1); // mbg merge 7/17/06
|
||||
strcpy((char*) bdata + 13, "SUNSOFT"); // mbg merge 0/17/06
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue