diff options
author | Max Horn | 2008-06-05 14:02:49 +0000 |
---|---|---|
committer | Max Horn | 2008-06-05 14:02:49 +0000 |
commit | dd4a0efe0290891000d3b44a69fec65eafc00ce9 (patch) | |
tree | f5dd4965282150cb22e9887a54602032c2e957b3 | |
parent | bfd4fc910e76161cf088c2b9683414de7b32e3f4 (diff) | |
download | scummvm-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
-rw-r--r-- | engines/drascula/drascula.cpp | 2 |
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; |