1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-28 15:24:49 -05:00

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
parent 79ffeb97fc
commit 20bc740780

View File

@ -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);