From dd4a0efe0290891000d3b44a69fec65eafc00ce9 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 5 Jun 2008 14:02:49 +0000 Subject: Fix compiler warning (to clear a C-string, do not abuse sprintf like that) svn-id: r32555 --- engines/drascula/drascula.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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; -- cgit v1.2.3