summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormikalair <mikalair@outlook.com>2017-08-23 17:15:48 +0300
committermikalair <mikalair@outlook.com>2017-08-23 17:15:48 +0300
commite78b247e145a4ff4a0a59867b71bacd6b6b94637 (patch)
tree7e6d38904471ab82bcae568e83ed9d37b6b3e24c /src
parent5b876e7edf85b01f906e24cf2ac81814b2f263cc (diff)
DPI aware switch to mirandaboot.ini
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/modules.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mir_app/src/modules.cpp b/src/mir_app/src/modules.cpp
index de42594c34..46892c6837 100644
--- a/src/mir_app/src/modules.cpp
+++ b/src/mir_app/src/modules.cpp
@@ -94,6 +94,9 @@ int LoadDefaultModules(void)
// load database drivers & service plugins without executing their Load()
if (LoadNewPluginsModuleInfos()) return 1;
+ if (GetPrivateProfileInt(L"Interface", L"DpiAware", 0, mirandabootini) == 1)
+ SetProcessDPIAware();
+
switch (LoadDefaultServiceModePlugin()) {
case SERVICE_CONTINUE: // continue loading Miranda normally
case SERVICE_ONLYDB: // load database and go to the message cycle