aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/intern.h
diff options
context:
space:
mode:
authorTravis Howell2007-06-04 04:41:46 +0000
committerTravis Howell2007-06-04 04:41:46 +0000
commit48b8ee4d4fe4ef2db70116db894f6dd7c7bcc671 (patch)
treead852e68eee245597ce66d81fca75d705acfb084 /engines/agos/intern.h
parentf6b8c98c13918508814b6d5ad21dfb8c772d8df9 (diff)
downloadscummvm-rg350-48b8ee4d4fe4ef2db70116db894f6dd7c7bcc671.tar.gz
scummvm-rg350-48b8ee4d4fe4ef2db70116db894f6dd7c7bcc671.tar.bz2
scummvm-rg350-48b8ee4d4fe4ef2db70116db894f6dd7c7bcc671.zip
Fix sign issue, which caused invalid writes, when entering saved game name in Elvira 2 and Waxworks.
svn-id: r27074
Diffstat (limited to 'engines/agos/intern.h')
-rw-r--r--engines/agos/intern.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/agos/intern.h b/engines/agos/intern.h
index f39ca7d3da..a863dc7c0f 100644
--- a/engines/agos/intern.h
+++ b/engines/agos/intern.h
@@ -131,11 +131,11 @@ struct IconBlock {
struct WindowBlock {
byte mode;
byte flags;
- uint16 x, y;
- uint16 width, height;
- uint16 textColumn, textRow;
+ int16 x, y;
+ int16 width, height;
+ int16 textColumn, textRow;
+ int16 scrollY;
uint16 textColumnOffset, textLength, textMaxLength;
- uint16 scrollY;
uint8 fill_color, text_color;
IconBlock *iconPtr;
WindowBlock() { memset(this, 0, sizeof(*this)); }