summaryrefslogtreecommitdiff
path: root/plugins/NewEventNotify/src/popup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewEventNotify/src/popup.cpp')
-rw-r--r--plugins/NewEventNotify/src/popup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewEventNotify/src/popup.cpp b/plugins/NewEventNotify/src/popup.cpp
index 835a05102a..90d12c5816 100644
--- a/plugins/NewEventNotify/src/popup.cpp
+++ b/plugins/NewEventNotify/src/popup.cpp
@@ -387,11 +387,11 @@ static TCHAR* GetEventPreview(DBEVENTINFO *dbei)
else commentFix = POPUP_COMMENT_OTHER;
}
- if ( lstrlen(comment1) > 0) {
+ if ( mir_tstrlen(comment1) > 0) {
mir_free(comment2);
return comment1;
}
- if ( lstrlen(comment2) > 0) {
+ if ( mir_tstrlen(comment2) > 0) {
mir_free(comment1);
return comment2;
}