From e78b247e145a4ff4a0a59867b71bacd6b6b94637 Mon Sep 17 00:00:00 2001 From: mikalair Date: Wed, 23 Aug 2017 17:15:48 +0300 Subject: DPI aware switch to mirandaboot.ini --- src/mir_app/src/modules.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mir_app') 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 -- cgit v1.2.3