summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/chat/tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src/chat/tools.cpp')
-rw-r--r--plugins/Scriver/src/chat/tools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat/tools.cpp b/plugins/Scriver/src/chat/tools.cpp
index ae6439183e..c42af74d93 100644
--- a/plugins/Scriver/src/chat/tools.cpp
+++ b/plugins/Scriver/src/chat/tools.cpp
@@ -688,8 +688,8 @@ UINT CreateGCMenu(HWND hwnd, HMENU *hMenu, int iIndex, POINT pt, SESSION_INFO *s
else if (iIndex == 0)
{
TCHAR szTemp[30];
- if (pszUID)
- mir_sntprintf(szTemp, SIZEOF(szTemp), TranslateT("&Message %s"), pszUID);
+ if (pszWordText)
+ mir_sntprintf(szTemp, SIZEOF(szTemp), TranslateT("&Message %s"), pszWordText);
else
lstrcpyn(szTemp, TranslateT("&Message"), 24);