Andy Hood points out that `#ifdef MONITOR_DEFAULTTONEAREST' would

benefit from _also_ being conditional on NO_MULTIMON not being
defined, to prevent the possibility of only half the multimon code
being included.

[originally from svn r3644]
This commit is contained in:
Simon Tatham 2003-12-16 18:28:43 +00:00
Родитель 79ffeb97fc
Коммит 20bc740780
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -4584,7 +4584,7 @@ int is_full_screen()
* one monitor is present. */
static int get_fullscreen_rect(RECT * ss)
{
#ifdef MONITOR_DEFAULTTONEAREST
#if defined(MONITOR_DEFAULTTONEAREST) && !defined(NO_MULTIMON)
HMONITOR mon;
MONITORINFO mi;
mon = MonitorFromWindow(hwnd, MONITOR_DEFAULTTONEAREST);