overlaytopleft/games-fps/gzdoom/files/0011-Fixed-custom-height-and-width-not-saving.patch

29 lines
987 B
Diff

From ab0f928bc324750ae5e8f4b92b308fe8e0a00d7e Mon Sep 17 00:00:00 2001
From: CandiceJoy <candice@candicejoy.com>
Date: Sun, 1 Jan 2023 22:51:37 -0500
Subject: [PATCH 11/51] Fixed custom height and width not saving.
Signed-off-by: CandiceJoy <candice@candicejoy.com>
---
src/common/menu/resolutionmenu.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/common/menu/resolutionmenu.cpp b/src/common/menu/resolutionmenu.cpp
index 6074d018a..1920927bb 100644
--- a/src/common/menu/resolutionmenu.cpp
+++ b/src/common/menu/resolutionmenu.cpp
@@ -83,8 +83,8 @@ CCMD (menu_resolution_commit_changes)
vid_fullscreen = true;
vid_scalemode = 5;
vid_scalefactor = 1.;
- vid_scale_customwidth = menu_resolution_custom_width;
- vid_scale_customheight = menu_resolution_custom_height;
+ vid_scale_customwidth = *menu_resolution_custom_width;
+ vid_scale_customheight = *menu_resolution_custom_height;
vid_scale_custompixelaspect = 1.0;
}
}
--
2.39.3