diff --git a/gfx/common/win32_common.cpp b/gfx/common/win32_common.cpp index 4ddcfc1277..3110071eff 100644 --- a/gfx/common/win32_common.cpp +++ b/gfx/common/win32_common.cpp @@ -471,7 +471,7 @@ void win32_set_style(MONITORINFOEX *current_mon, HMONITOR *hm_to_use, {} /* Display settings might have changed, get new coordinates. */ - GetMonitorInfo(*hm_to_use, (MONITORINFO*)¤t_mon); + GetMonitorInfo(*hm_to_use, (MONITORINFO*)current_mon); *mon_rect = current_mon->rcMonitor; } }