summaryrefslogtreecommitdiff
path: root/gfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'gfx.c')
-rw-r--r--gfx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx.c b/gfx.c
index 19e480a75..be4cac622 100644
--- a/gfx.c
+++ b/gfx.c
@@ -1920,9 +1920,9 @@ void SetAnimatedMouseCursor(const uint16 *table)
}
bool ChangeResInGame(int w, int h)
-{
+{
if ((_screen.width != w || _screen.height != h) && !_video_driver->change_resolution(w, h))
- return false;
+ return false;
_cur_resolution[0] = w;
_cur_resolution[1] = h;