summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/chat/clist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/chat/clist.cpp b/src/modules/chat/clist.cpp
index 503480e582..90d507a39f 100644
--- a/src/modules/chat/clist.cpp
+++ b/src/modules/chat/clist.cpp
@@ -166,7 +166,7 @@ INT_PTR LeaveChat(WPARAM wParam, LPARAM lParam)
return 0;
}
-int PrebuildContactMenu(WPARAM wParam, LPARAM lParam)
+int PrebuildContactMenu(WPARAM wParam, LPARAM)
{
HANDLE hContact = (HANDLE)wParam;
if (hContact == NULL)
@@ -182,9 +182,9 @@ int PrebuildContactMenu(WPARAM wParam, LPARAM lParam)
CLISTMENUITEM mi = { sizeof(mi) };
mi.flags = CMIM_NAME;
if (db_get_w(hContact, szProto, "Status", 0) == ID_STATUS_OFFLINE)
- mi.pszName = (char*)LPGEN("Join chat");
+ mi.pszName = LPGEN("&Join chat");
else
- mi.pszName = (char*)LPGEN("Open chat window");
+ mi.pszName = LPGEN("&Open chat window");
Menu_ModifyItem(hJoinMenuItem, &mi);
bEnabled = true;
}