]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - window.c
Andy Hood points out that `#ifdef MONITOR_DEFAULTTONEAREST' would
[PuTTY.git] / window.c
index a039ed3bf5e5c3bb40419c9eb20d6cd1f872d52f..c76b083dc7993d0deeb230c157e18e4c3dead13d 100644 (file)
--- a/window.c
+++ b/window.c
@@ -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);