summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-22 15:07:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-22 15:07:26 +0000
commitb9d4564d0fd90716cfa6ccfb4bb034a5ca9d64c6 (patch)
tree47c7b474aa9e4a65016e0422fbbce9ea96d5bc7f /plugins/SmileyAdd/src
parent62ee678fc4b2a6dc27cfe823b89e631de01d8e78 (diff)
- rare crash fix in Smileys;
- fix for the empty menu item's name in MenuItemEx - typo in AVS git-svn-id: http://svn.miranda-ng.org/main/trunk@6587 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src')
-rw-r--r--plugins/SmileyAdd/src/smileyroutines.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/smileyroutines.cpp b/plugins/SmileyAdd/src/smileyroutines.cpp
index 651c34b0c3..67c011d1ea 100644
--- a/plugins/SmileyAdd/src/smileyroutines.cpp
+++ b/plugins/SmileyAdd/src/smileyroutines.cpp
@@ -192,7 +192,7 @@ void ReplaceSmileys(HWND hwnd, SmileyPackType* smp, SmileyPackCType* smcp, const
if (RichEditOle == NULL)
return;
- ITextDocument* TextDocument;
+ ITextDocument* TextDocument = NULL;
if (RichEditOle->QueryInterface(IID_ITextDocument, (void**)&TextDocument) != S_OK) {
RichEditOle->Release();
return;