summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/HistoryLinkListPlus/src/linklist_fct.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/HistoryLinkListPlus/src/linklist_fct.cpp b/plugins/HistoryLinkListPlus/src/linklist_fct.cpp
index 9f7ab2bcac..17036bb8f6 100644
--- a/plugins/HistoryLinkListPlus/src/linklist_fct.cpp
+++ b/plugins/HistoryLinkListPlus/src/linklist_fct.cpp
@@ -78,6 +78,10 @@ int ExtractURI(DBEVENTINFO *dbei, HANDLE hEvent, LISTELEMENT *listStart)
ZeroMemory(time, _countof(time)*sizeof(TCHAR));
msg = DbGetEventTextT(dbei, CP_ACP);
+
+ if ( msg == NULL )
+ return 0;
+
for ( i=0; msg[i]; )
{
//hyperlinks are delimited by: <non-alphanumeric>"hyperlink"<whitespace>