diff options
author | Paul Gilbert | 2015-05-20 08:28:12 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-05-20 08:28:12 -0400 |
commit | 30133cef0e2a840325c1b46b106628c3cccd7d04 (patch) | |
tree | 33f2fb95e81abc5e7624fc7d0d0ae9ae51b9ed43 /engines/sherlock/scalpel | |
parent | fe8139b57168bbb85eb1d4bb0d2c62219ee6383d (diff) | |
download | scummvm-rg350-30133cef0e2a840325c1b46b106628c3cccd7d04.tar.gz scummvm-rg350-30133cef0e2a840325c1b46b106628c3cccd7d04.tar.bz2 scummvm-rg350-30133cef0e2a840325c1b46b106628c3cccd7d04.zip |
SHERLOCK: Re-add GCC_PRINTF and fix resulting GCC warnings
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r-- | engines/sherlock/scalpel/darts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/darts.cpp b/engines/sherlock/scalpel/darts.cpp index 96d272fed0..de93621e2f 100644 --- a/engines/sherlock/scalpel/darts.cpp +++ b/engines/sherlock/scalpel/darts.cpp @@ -235,10 +235,10 @@ void Darts::showNames(int playerNum) { if (playerNum != 0) screen.print(Common::Point(STATUS_INFO_X + 50, STATUS_INFO_Y), PLAYER_COLOR + 3, - _opponent.c_str()); + "%s", _opponent.c_str()); else screen.print(Common::Point(STATUS_INFO_X + 50, STATUS_INFO_Y), color, - _opponent.c_str()); + "%s", _opponent.c_str()); screen._backBuffer1.fillRect(Common::Rect(STATUS_INFO_X + 50, STATUS_INFO_Y + 10, STATUS_INFO_X + 81, STATUS_INFO_Y + 12), color); |