diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-04-27 09:32:02 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-04-27 09:32:02 +0000 |
commit | 1273b126536581cc9710bed760ab60a82946e857 (patch) | |
tree | b6baa262bbde938d673bcc8319d11095e85fb207 /plugins/SmileyAdd/src/smileys.cpp | |
parent | 47f4d5c03a16988eab91de5e26218f8e0d35b8b8 (diff) |
SmileyAdd: crashfix
git-svn-id: http://svn.miranda-ng.org/main/trunk@13195 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src/smileys.cpp')
-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 c2a18de08f..10ca0bc2dd 100644 --- a/plugins/SmileyAdd/src/smileys.cpp +++ b/plugins/SmileyAdd/src/smileys.cpp @@ -845,7 +845,7 @@ void SmileyCategoryListType::AddAccountAsCategory(PROTOACCOUNT *acc, const CMStr }
if (!PhysProtoName.IsEmpty())
- paths = g_SmileyCategories.GetSmileyCategory(PhysProtoName)->GetFilename();
+ paths = g_SmileyCategories.GetSmileyCategory(PhysProtoName) ? g_SmileyCategories.GetSmileyCategory(PhysProtoName)->GetFilename() : _T("");
if (paths.IsEmpty()){
const char* packnam = acc->szProtoName;
|