Skip to content

Commit

Permalink
SCUMM: Remove unnecessary qualifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
Torbjörn Andersson committed Dec 15, 2023
1 parent d8f9d39 commit 22c02e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/scumm/macgui/macgui_dialogwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ MacGuiImpl::MacDialogWindow::MacDialogWindow(MacGuiImpl *gui, OSystem *system, G
r.grow(-1);
s->fillRect(r, kWhite);

if (style == MacGuiImpl::kStyleNormal) {
if (style == kStyleNormal) {
int growths[] = { 1, -3, -1 };

for (int i = 0; i < ARRAYSIZE(growths); i++) {
Expand All @@ -78,7 +78,7 @@ MacGuiImpl::MacDialogWindow::MacDialogWindow(MacGuiImpl *gui, OSystem *system, G
s->vLine(r.left, r.top + 1, r.bottom - 2, kBlack);
s->vLine(r.right - 1, r.top + 1, r.bottom - 2, kBlack);
}
} else if (style == MacGuiImpl::kStyleRounded) {
} else if (style == kStyleRounded) {
r.grow(1);

for (int i = 0; i < 2; i++) {
Expand Down

0 comments on commit 22c02e0

Please sign in to comment.