diff options
author | Max Horn | 2009-02-21 03:25:23 +0000 |
---|---|---|
committer | Max Horn | 2009-02-21 03:25:23 +0000 |
commit | 031e3e3b9081ad955d4ef814829c83f4b51792f0 (patch) | |
tree | 2929092e9a644ff04fc2ae011d08ad66029e1904 /engines/sci/engine/kgraphics.cpp | |
parent | e9e2136c1a83be24214ea4d6b0839dc9f621ca18 (diff) | |
download | scummvm-rg350-031e3e3b9081ad955d4ef814829c83f4b51792f0.tar.gz scummvm-rg350-031e3e3b9081ad955d4ef814829c83f4b51792f0.tar.bz2 scummvm-rg350-031e3e3b9081ad955d4ef814829c83f4b51792f0.zip |
SCI: Fixed tons of bugs in error/warning format strings
svn-id: r38655
Diffstat (limited to 'engines/sci/engine/kgraphics.cpp')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 8f41ac2d91..64789031bd 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -208,10 +208,10 @@ void graph_restore_box(state_t *s, reg_t handle) { return; } - ptr = (gfxw_snapshot_t **) kmem(s, handle); + ptr = (gfxw_snapshot_t **)kmem(s, handle); if (!ptr) { - warning("Attempt to restore invalid handle %04x", handle); + warning("Attempt to restore invalid handle "PREG, PRINT_REG(handle)); return; } @@ -241,7 +241,7 @@ void graph_restore_box(state_t *s, reg_t handle) { if (!ptr) { - error("Attempt to restore invalid snaphot with handle %04x", handle); + error("Attempt to restore invalid snaphot with handle "PREG, PRINT_REG(handle)); return; } @@ -846,7 +846,7 @@ reg_t kCanBeHere(state_t *s, int funct_nr, int argc, reg_t * argv) { SCIkdebug(SCIkBRESEN, " comparing against "PREG"\n", PRINT_REG(other_obj)); if (!is_object(s, other_obj)) { - warning("CanBeHere() cliplist contains non-object %04x", other_obj); + warning("CanBeHere() cliplist contains non-object "PREG, PRINT_REG(other_obj)); } else if (!REG_EQ(other_obj, obj)) { // Clipping against yourself is not recommended if (collides_with(s, abs_zone, other_obj, 0, GASEOUS_VIEW_MASK_PASSIVE, funct_nr, argc, argv)) { |