diff options
Diffstat (limited to 'tipper/popwin.cpp')
-rw-r--r-- | tipper/popwin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tipper/popwin.cpp b/tipper/popwin.cpp index 509d134..8c5b2e9 100644 --- a/tipper/popwin.cpp +++ b/tipper/popwin.cpp @@ -114,9 +114,9 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa status_msg = (char *)CallService(MS_AWAYMSG_GETSTATUSMSG, status, 0); } - if(status_msg) swzText = a2t(status_msg); + if(status_msg && status_msg[0]) swzText = a2t(status_msg); - if(swzText) { + if(swzText && swzText[0]) { StripBBCodesInPlace(swzText); pwd->rows = (RowData *) realloc(pwd->rows, sizeof(RowData) * (pwd->row_count + 1)); |