diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-13 20:12:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-13 20:12:02 +0000 |
commit | 1ca35422a252e1b254d6a4823717d39f7988514f (patch) | |
tree | d2f6b3486d75cb83a506a27faf4d652cdd686037 /plugins/SmileyAdd | |
parent | e84bf4a5995b26423129b9339dd387e2a7431a0a (diff) |
fix for wrong CMString::Mid calls
git-svn-id: http://svn.miranda-ng.org/main/trunk@14944 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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 2e3b7febcb..d373dc2190 100644 --- a/plugins/SmileyAdd/src/smileys.cpp +++ b/plugins/SmileyAdd/src/smileys.cpp @@ -1018,7 +1018,7 @@ void SmileyCategoryListType::AddAllProtocolsAsCategory(void) }
if (cppv != cats.GetLength()) {
- displayName = cats.Mid(cppv, cats.GetLength() - cppv);
+ displayName = cats.Mid(cppv);
AddCategory(displayName, displayName, smcCustom, defaultFile);
}
}
|