SAGA2: Fix StaticWindow warnings

This commit is contained in:
a/ 2021-07-01 02:18:04 +09:00 committed by Eugene Sandulenko
parent f8b24c5e58
commit 176c81b074
No known key found for this signature in database
GPG key ID: 014D387312D34F08
2 changed files with 9 additions and 9 deletions

View file

@ -143,9 +143,9 @@ static const StaticRect scrollBtnRect = {
StaticWindow autoMapDecorations[numAutoMapPanels] = {
{*autoMapPanelRects[0], nullptr, autoMapTopPanelResID},
{*autoMapPanelRects[1], nullptr, autoMapMidPanelResID},
{*autoMapPanelRects[2], nullptr, autoMapBotPanelResID}
{*(autoMapPanelRects[0]), NULL, autoMapTopPanelResID},
{*(autoMapPanelRects[1]), NULL, autoMapMidPanelResID},
{*(autoMapPanelRects[2]), NULL, autoMapBotPanelResID}
};

View file

@ -231,9 +231,9 @@ static const StaticRect *saveLoadTextRects[kNumSaveLoadTexts] = {
// save/load dialog window decorations
static StaticWindow saveWindowDecorations[kNumSaveLoadPanels] = {
{*saveLoadPanelRects[0], nullptr, SLTopPanelResID},
{*saveLoadPanelRects[1], nullptr, SLMidPanelResID},
{*saveLoadPanelRects[2], nullptr, SLBotPanelResID}
{*(saveLoadPanelRects[0]), NULL, SLTopPanelResID},
{*(saveLoadPanelRects[1]), NULL, SLMidPanelResID},
{*(saveLoadPanelRects[2]), NULL, SLBotPanelResID}
};
@ -473,9 +473,9 @@ static const StaticRect *optionsTextRects[] = {
// options dialog window decorations
static StaticWindow optionsDecorations[kNumOptionsPanels] = {
{*optionsPanelRects[0], nullptr, optTopPanelResID},
{*optionsPanelRects[1], nullptr, optMidPanelResID},
{*optionsPanelRects[2], nullptr, optBotPanelResID}
{*(optionsPanelRects[0]), NULL, optTopPanelResID},
{*(optionsPanelRects[1]), NULL, optMidPanelResID},
{*(optionsPanelRects[2]), NULL, optBotPanelResID}
};