diff options
author | Stephen Kennedy | 2008-08-06 14:21:05 +0000 |
---|---|---|
committer | Stephen Kennedy | 2008-08-06 14:21:05 +0000 |
commit | 57b13141af10c5e0773c2e1606daca8e08410ed5 (patch) | |
tree | a890e33f430cbff65f99a4512058667e4cfb343e /common/image-map.cpp | |
parent | 1caf48b08435b4077843cb7ebfe14ee45180f8ee (diff) | |
download | scummvm-rg350-57b13141af10c5e0773c2e1606daca8e08410ed5.tar.gz scummvm-rg350-57b13141af10c5e0773c2e1606daca8e08410ed5.tar.bz2 scummvm-rg350-57b13141af10c5e0773c2e1606daca8e08410ed5.zip |
Keymapper WIP:
* Implemented stack-based active map in Keymapper
* Started proper testing by adding code to OSystem_SDL to set up simple HardwareKeySet and Keymap
svn-id: r33660
Diffstat (limited to 'common/image-map.cpp')
-rw-r--r-- | common/image-map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/image-map.cpp b/common/image-map.cpp index f9201618a4..393417315d 100644 --- a/common/image-map.cpp +++ b/common/image-map.cpp @@ -33,7 +33,7 @@ ImageMap::~ImageMap() { Rect *ImageMap::createRectArea(const String& id) { if (_areas.contains(id)) { - warning("Image map already contains an area with target of '%s'"); + warning("Image map already contains an area with target of '%s'", id.c_str()); return 0; } Rect *r = new Rect(); @@ -43,7 +43,7 @@ Rect *ImageMap::createRectArea(const String& id) { Polygon *ImageMap::createPolygonArea(const String& id) { if (_areas.contains(id)) { - warning("Image map already contains an area with target of '%s'"); + warning("Image map already contains an area with target of '%s'", id.c_str()); return 0; } Polygon *p = new Polygon(); |