projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fff101e
)
fixed bug with window scaling selection list not updated by window resize
author
Holger Schemel
<info@artsoft.org>
Thu, 21 Apr 2016 22:47:37 +0000
(
00:47
+0200)
committer
Holger Schemel
<info@artsoft.org>
Thu, 21 Apr 2016 22:47:37 +0000
(
00:47
+0200)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index c69b78fb4fcd4e22bd1f2e12a742ba23b4756479..ec7d7b66cc928ace7caf6f292c6e3b4ffb4ebb7d 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-4707,16
+4707,14
@@
static void execSetupGraphics_setRenderingModes()
static void execSetupGraphics()
{
static void execSetupGraphics()
{
+ // update "setup.window_scaling_percent" from list selection
+ // (in this case, window scaling was changed on setup screen)
if (setup_mode == SETUP_MODE_CHOOSE_WINDOW_SIZE)
if (setup_mode == SETUP_MODE_CHOOSE_WINDOW_SIZE)
- {
- // update "setup.window_scaling_percent" from list selection
execSetupGraphics_setWindowSizes(FALSE);
execSetupGraphics_setWindowSizes(FALSE);
- }
- else
- {
- // update list selection from "setup.window_scaling_percent"
- execSetupGraphics_setWindowSizes(TRUE);
- }
+
+ // update list selection from "setup.window_scaling_percent"
+ // (window scaling may have changed by resizing the window)
+ execSetupGraphics_setWindowSizes(TRUE);
execSetupGraphics_setScalingTypes();
execSetupGraphics_setRenderingModes();
execSetupGraphics_setScalingTypes();
execSetupGraphics_setRenderingModes();