summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-27 17:11:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-27 17:11:39 +0300
commitab812542f118f463e4ab508d4b7c982c53d55f4c (patch)
tree2c62c674b60795231d5eabebbd572b287f585939 /plugins/SmileyAdd/src
parentadd897d789e8e30884e2a4b355122666a9189abb (diff)
fix for issues described in #922 (Move development to VS2017)
Diffstat (limited to 'plugins/SmileyAdd/src')
-rw-r--r--plugins/SmileyAdd/src/smileys.cpp2
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) {