diff options
author | mikalair <mikalair@outlook.com> | 2017-08-23 17:15:48 +0300 |
---|---|---|
committer | mikalair <mikalair@outlook.com> | 2017-08-23 17:15:48 +0300 |
commit | e78b247e145a4ff4a0a59867b71bacd6b6b94637 (patch) | |
tree | 7e6d38904471ab82bcae568e83ed9d37b6b3e24c /src | |
parent | 5b876e7edf85b01f906e24cf2ac81814b2f263cc (diff) |
DPI aware switch to mirandaboot.ini
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/modules.cpp | 3 |
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
|