From c73525aed854b31e7c30869a44f119412f69e2e9 Mon Sep 17 00:00:00 2001 From: ehouse Date: Wed, 29 Sep 2004 13:17:15 +0000 Subject: [PATCH] pad struct to 4 bytes so ARM and 68K size are the same --- xwords4/common/comtypes.h | 6 ++++-- xwords4/palm/palmmain.h | 6 +++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/xwords4/common/comtypes.h b/xwords4/common/comtypes.h index 9068788ef..1d7407f04 100644 --- a/xwords4/common/comtypes.h +++ b/xwords4/common/comtypes.h @@ -72,8 +72,10 @@ typedef enum { * already have the notion of per-game and all-game prefs. */ typedef struct CommonPrefs { - XP_Bool showBoardArrow; /* applies to all games */ - XP_Bool showRobotScores; /* applies to all games */ + XP_Bool showBoardArrow; /* applies to all games */ + XP_Bool showRobotScores; /* applies to all games */ + XP_Bool reserved1; /* get to 32-bit for ARM... */ + XP_Bool reserved2; } CommonPrefs; /* used for all vtables */ diff --git a/xwords4/palm/palmmain.h b/xwords4/palm/palmmain.h index c7d7dcfd7..bfaa112d1 100644 --- a/xwords4/palm/palmmain.h +++ b/xwords4/palm/palmmain.h @@ -117,10 +117,14 @@ typedef struct XWords4PreferenceType { Boolean showProgress; Boolean showGrid; Boolean showColors; -#ifndef DEBUG_OFF +#ifdef DEBUG Boolean showDebugstrs; Boolean windowAvail; Boolean logToMemo; + Boolean reserved1; + Boolean reserved2; +#else + Boolean reserved1; #endif /* New for 0x0405 */ CommonPrefs cp;