summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-07-20 19:43:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-07-20 19:43:58 +0300
commit771c1b62d8b6923b67a2726ecad6e820fa380314 (patch)
tree3d772736569806bbcebc2a44edb1c3ea5805bd5f /src
parent0840c03307ee0d87195405a1c3641f2d0cf764f8 (diff)
fixes #3120 completely
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/db_ini.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/db_ini.cpp b/src/mir_app/src/db_ini.cpp
index 27e8ed79b3..8c8ac9d1f4 100644
--- a/src/mir_app/src/db_ini.cpp
+++ b/src/mir_app/src/db_ini.cpp
@@ -301,7 +301,7 @@ static int EnumSettingsForDeletion(const char *szSetting, void *param)
static void ProcessIniFile(wchar_t* szIniPath, const char *szSafeSections, const char *szUnsafeSections, int secur, bool secFN)
{
- FILE *fp = _wfopen(szIniPath, L"rt");
+ FILE *fp = _wfopen(szIniPath, L"rb");
if (fp == nullptr)
return;