From 62bb150c7146458c8acbfd3975a98217a1b24a8e Mon Sep 17 00:00:00 2001
From: FunkyFr3sh <cc.red.alert.1@googlemail.com>
Date: Fri, 25 Aug 2023 21:39:30 +0200
Subject: [PATCH] don't add 1 to min height

---
 src/dd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dd.c b/src/dd.c
index c729a1d..ec4f38f 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -685,7 +685,7 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
                         (float)g_ddraw->width / g_ddraw->height,
                         &res,
                         g_ddraw->width + 1, /* don't return the original resolution since we tested that one already */
-                        g_ddraw->height + 1,
+                        g_ddraw->height,
                         g_ddraw->mode.dmPelsWidth,
                         g_ddraw->mode.dmPelsHeight);