summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;