diff options
author | Sven Hesse | 2013-04-15 18:49:00 +0200 |
---|---|---|
committer | Sven Hesse | 2013-04-15 18:49:00 +0200 |
commit | 61b1a594b850846e959256dfb65f210be416d3eb (patch) | |
tree | 490ff31f7af9a130f7adc040f216181cc6e21773 /engines/gob | |
parent | bbe4372f5b05e02b86b4609bf24b49f24f33a866 (diff) | |
download | scummvm-rg350-61b1a594b850846e959256dfb65f210be416d3eb.tar.gz scummvm-rg350-61b1a594b850846e959256dfb65f210be416d3eb.tar.bz2 scummvm-rg350-61b1a594b850846e959256dfb65f210be416d3eb.zip |
GOB: Change strcpy to strlcpy for safety
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/draw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/draw.cpp b/engines/gob/draw.cpp index 8c6919416d..e1322c2831 100644 --- a/engines/gob/draw.cpp +++ b/engines/gob/draw.cpp @@ -488,7 +488,7 @@ void Draw::oPlaytoons_sub_F_1B(uint16 id, int16 left, int16 top, int16 right, in int16 width; char tmpStr[128]; - strcpy(tmpStr, paramStr); + Common::strlcpy(tmpStr, paramStr, 128); adjustCoords(1, &left, &top); adjustCoords(1, &right, &bottom); |