diff options
author | George Hazan <ghazan@miranda.im> | 2017-09-27 17:11:31 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-09-27 17:11:39 +0300 |
commit | ab812542f118f463e4ab508d4b7c982c53d55f4c (patch) | |
tree | 2c62c674b60795231d5eabebbd572b287f585939 /plugins/SmileyAdd | |
parent | add897d789e8e30884e2a4b355122666a9189abb (diff) |
fix for issues described in #922 (Move development to VS2017)
Diffstat (limited to 'plugins/SmileyAdd')
-rw-r--r-- | plugins/SmileyAdd/src/smileys.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/smileys.cpp b/plugins/SmileyAdd/src/smileys.cpp index b52472d5d6..c08b7f4bb6 100644 --- a/plugins/SmileyAdd/src/smileys.cpp +++ b/plugins/SmileyAdd/src/smileys.cpp @@ -1052,6 +1052,7 @@ void SmileyCategoryListType::AddAllProtocolsAsCategory(void) }
}
+static const CMStringW testString(L"Test String");
SmileyLookup::SmileyLookup(const CMStringW &str, const bool regexs, const int ind, const CMStringW &smpt)
{
@@ -1059,7 +1060,6 @@ SmileyLookup::SmileyLookup(const CMStringW &str, const bool regexs, const int in m_ind = ind;
if (regexs) {
- static const CMStringW testString(L"Test String");
m_pattern = _TPattern::compile(str);
m_valid = m_pattern != NULL;
if (m_valid) {
|