summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/src/clc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_mw/src/clc.cpp')
-rw-r--r--plugins/Clist_mw/src/clc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_mw/src/clc.cpp b/plugins/Clist_mw/src/clc.cpp
index 26924d1f8c..96e34af520 100644
--- a/plugins/Clist_mw/src/clc.cpp
+++ b/plugins/Clist_mw/src/clc.cpp
@@ -229,7 +229,7 @@ LRESULT CALLBACK ContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, L
}
}
db_free(&dbv);
- if (_tcslen(contact->szStatusMsg)>0) {
+ if (contact->szStatusMsg[0] != 0) {
contact->flags |= CONTACTF_STATUSMSG;
dat->needsResort = TRUE;
}