aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2008-06-05 14:02:49 +0000
committerMax Horn2008-06-05 14:02:49 +0000
commitdd4a0efe0290891000d3b44a69fec65eafc00ce9 (patch)
treef5dd4965282150cb22e9887a54602032c2e957b3 /engines
parentbfd4fc910e76161cf088c2b9683414de7b32e3f4 (diff)
downloadscummvm-rg350-dd4a0efe0290891000d3b44a69fec65eafc00ce9.tar.gz
scummvm-rg350-dd4a0efe0290891000d3b44a69fec65eafc00ce9.tar.bz2
scummvm-rg350-dd4a0efe0290891000d3b44a69fec65eafc00ce9.zip
Fix compiler warning (to clear a C-string, do not abuse sprintf like that)
svn-id: r32555
Diffstat (limited to 'engines')
-rw-r--r--engines/drascula/drascula.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 23b04a2e60..ccf5ae7f92 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -1341,7 +1341,7 @@ bool DrasculaEngine::saveLoadScreen() {
color_abc(kColorLightGreen);
- sprintf(select, "");
+ select[0] = 0;
for (;;) {
y = 27;