aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-05-20 14:43:22 +0000
committerMax Horn2003-05-20 14:43:22 +0000
commita67d45249d1182fc34bb16772f527dbdb74c8872 (patch)
tree48a04dd6aaf8b8871b28da4d29fadcf8d0e40874
parent5f068688e92d3429e7a824e29f29fa4f4b67a0ee (diff)
downloadscummvm-rg350-a67d45249d1182fc34bb16772f527dbdb74c8872.tar.gz
scummvm-rg350-a67d45249d1182fc34bb16772f527dbdb74c8872.tar.bz2
scummvm-rg350-a67d45249d1182fc34bb16772f527dbdb74c8872.zip
and more simon member vars
svn-id: r7729
-rw-r--r--simon/intern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/simon/intern.h b/simon/intern.h
index ec9acaa915..fbe5b17800 100644
--- a/simon/intern.h
+++ b/simon/intern.h
@@ -59,7 +59,7 @@ struct Item {
uint16 xxx_1; /* unused? */
Child *children;
- Item() { memset(this, 0, sizeof(Item)); }
+ Item() { memset(this, 0, sizeof(*this)); }
};
struct Subroutine {
@@ -91,6 +91,7 @@ struct FillOrCopyStruct {
uint8 textColumnOffset, textLength, textMaxLength;
uint8 fill_color, text_color, unk5;
FillOrCopyData *fcs_data;
+ FillOrCopyStruct() { memset(this, 0, sizeof(*this)); }
};
// note on text offset:
// the actual x-coordinate is: textColumn * 8 + textColumnOffset