diff options
author | Joost Peters | 2003-08-20 12:08:55 +0000 |
---|---|---|
committer | Joost Peters | 2003-08-20 12:08:55 +0000 |
commit | 123af301474cac28e53f96b5f23f229429d32eaa (patch) | |
tree | 1217d06884fcbcf6d6f35849a153553dc0d5f2e7 /sword2/driver/menu.cpp | |
parent | fc005be4d9bb28c50f37db27c7ea0b6f5759cc49 (diff) | |
download | scummvm-rg350-123af301474cac28e53f96b5f23f229429d32eaa.tar.gz scummvm-rg350-123af301474cac28e53f96b5f23f229429d32eaa.tar.bz2 scummvm-rg350-123af301474cac28e53f96b5f23f229429d32eaa.zip |
fix warning (properly initialise 2 dimensional arrays)
svn-id: r9798
Diffstat (limited to 'sword2/driver/menu.cpp')
-rw-r--r-- | sword2/driver/menu.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sword2/driver/menu.cpp b/sword2/driver/menu.cpp index 9581287158..696ed4ae91 100644 --- a/sword2/driver/menu.cpp +++ b/sword2/driver/menu.cpp @@ -133,21 +133,21 @@ static uint8 menuStatus[2] = static uint8 *icons[2][RDMENU_MAXPOCKETS] = { - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL + { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }, + { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } }; // static LPDIRECTDRAWSURFACE lpIconSurface[2][RDMENU_MAXPOCKETS] = static Surface *lpIconSurface[2][RDMENU_MAXPOCKETS] = { - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL + { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }, + { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } }; static uint8 pocketStatus[2][RDMENU_MAXPOCKETS] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }; //static uint8 menuCounter[2]; |