summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-01-08 22:15:06 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-14 14:16:40 +0100
commit22f5aeab07cb1c67561b9e348e2c944740233607 (patch)
tree0dbb0edbf02962e297e7d99e6d96b14ee570333b /src/openttd.cpp
parenta2c3197f424daa6e02201d8304015b0eb67d0b04 (diff)
downloadopenttd-22f5aeab07cb1c67561b9e348e2c944740233607.tar.xz
Feature: Automatic UI and font zoom levels when supported by the OS.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index a631bd852..b68f378cf 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -771,6 +771,7 @@ int openttd_main(int argc, char *argv[])
/* Initialize the zoom level of the screen to normal */
_screen.zoom = ZOOM_LVL_NORMAL;
+ UpdateGUIZoom();
NetworkStartUp(); // initialize network-core