From b7b3030383a0c5f107dd61848e0a474cd6c1c131 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Sun, 20 May 2007 17:17:48 +0000 Subject: Fixed bug. snprintf counts the termination character on Linux, but not on Windows, so had to resort to another solution. svn-id: r26893 --- engines/parallaction/disk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); -- cgit v1.2.3