diff options
author | Nicola Mettifogo | 2007-05-20 17:17:48 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-05-20 17:17:48 +0000 |
commit | b7b3030383a0c5f107dd61848e0a474cd6c1c131 (patch) | |
tree | 5a0b49acbbbb33c4a5a6f6599899e7b3972f713e /engines/parallaction | |
parent | 094bf2c518057e7f4e1dabad08fcb65606ebacd8 (diff) | |
download | scummvm-rg350-b7b3030383a0c5f107dd61848e0a474cd6c1c131.tar.gz scummvm-rg350-b7b3030383a0c5f107dd61848e0a474cd6c1c131.tar.bz2 scummvm-rg350-b7b3030383a0c5f107dd61848e0a474cd6c1c131.zip |
Fixed bug. snprintf counts the termination character on Linux, but not on Windows, so had to resort to another solution.
svn-id: r26893
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/disk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/disk.cpp b/engines/parallaction/disk.cpp index dab34460f1..35b97b64c7 100644 --- a/engines/parallaction/disk.cpp +++ b/engines/parallaction/disk.cpp @@ -285,7 +285,7 @@ StaticCnv* DosDisk::loadHead(const char* name) { name += 4; } - snprintf(path, 8, "%shead", name); + sprintf(path, "%shead", name); path[8] = '\0'; return loadExternalStaticCnv(path); |