- Fixed the IMD playing within mults, the non-interactive Gob3 demo should work better now
- Replaced strcpy with strncpy where appropriate - Added detection entries for other languages of the multilingual Gob3 CD; bug #1691230 svn-id: r26327
This commit is contained in:
parent
33c6a6f460
commit
d65e05841a
19 changed files with 136 additions and 62 deletions
|
@ -482,7 +482,7 @@ void Draw_v2::printTotText(int16 id) {
|
|||
sprintf(buf, "%d", VAR_OFFSET(val));
|
||||
} else if (cmd == 1) {
|
||||
val = READ_LE_UINT16(ptrEnd + 18) * 4;
|
||||
strcpy(buf, GET_VARO_STR(val));
|
||||
strncpy0(buf, GET_VARO_STR(val), 19);
|
||||
} else {
|
||||
val = READ_LE_UINT16(ptrEnd + 18) * 4;
|
||||
sprintf(buf, "%d", VAR_OFFSET(val));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue