diff options
Diffstat (limited to 'engines/gob/draw_v1.cpp')
-rw-r--r-- | engines/gob/draw_v1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/draw_v1.cpp b/engines/gob/draw_v1.cpp index 74feea39aa..64b75dca15 100644 --- a/engines/gob/draw_v1.cpp +++ b/engines/gob/draw_v1.cpp @@ -267,7 +267,7 @@ void Draw_v1::printTotText(int16 id) { } 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; |