summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/options.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-04-27 09:32:02 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-04-27 09:32:02 +0000
commit1273b126536581cc9710bed760ab60a82946e857 (patch)
treeb6baa262bbde938d673bcc8319d11095e85fb207 /plugins/SmileyAdd/src/options.cpp
parent47f4d5c03a16988eab91de5e26218f8e0d35b8b8 (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/options.cpp')
-rw-r--r--plugins/SmileyAdd/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/options.cpp b/plugins/SmileyAdd/src/options.cpp
index af5ec53ac5..7ce4e8ec15 100644
--- a/plugins/SmileyAdd/src/options.cpp
+++ b/plugins/SmileyAdd/src/options.cpp
@@ -344,7 +344,7 @@ void OptionsDialogType::UpdateVisibleSmPackList(void)
CMString FileName;
if (!ProtoName.IsEmpty()) {
PhysProtoName += ProtoName;
- FileName = tmpsmcat.GetSmileyCategory(PhysProtoName)->GetFilename();
+ FileName = tmpsmcat.GetSmileyCategory(PhysProtoName) ? tmpsmcat.GetSmileyCategory(PhysProtoName)->GetFilename() : _T("");
if (FileName.IsEmpty())
visible = true;
}