diff options
| author | George Hazan <ghazan@miranda.im> | 2019-02-15 12:40:27 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2019-02-15 12:40:27 +0300 |
| commit | 939a842bc8af062686870e7362ca1e82b064edfa (patch) | |
| tree | 92777712071b4eff53f227c705c392513b345af4 /plugins/CurrencyRates/src/SettingsDlg.cpp | |
| parent | d061852f027e57625d7bdfd445469d9a29b1eb07 (diff) | |
the less boost the better
Diffstat (limited to 'plugins/CurrencyRates/src/SettingsDlg.cpp')
| -rw-r--r-- | plugins/CurrencyRates/src/SettingsDlg.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/CurrencyRates/src/SettingsDlg.cpp b/plugins/CurrencyRates/src/SettingsDlg.cpp index 7ac0a52361..ef81b22a41 100644 --- a/plugins/CurrencyRates/src/SettingsDlg.cpp +++ b/plugins/CurrencyRates/src/SettingsDlg.cpp @@ -964,9 +964,7 @@ tstring GenerateLogFileName(const tstring &rsLogFilePattern, const tstring &rsCu tstring::size_type n = sPath.find(g_pszVariableCurrencyRateName); if (tstring::npos != n) { tstring s = rsCurrencyRateSymbol; - for (auto &c : s) - if (wcschr(L"\\/:*?\"<>|", c)) - c = '_'; + FixInvalidChars(s); sPath.replace(n, _countof(g_pszVariableCurrencyRateName)-1, s.c_str()); } } |
