summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/src')
-rw-r--r--protocols/Twitter/src/proto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp
index bf13f01c76..5cfb37a568 100644
--- a/protocols/Twitter/src/proto.cpp
+++ b/protocols/Twitter/src/proto.cpp
@@ -322,11 +322,11 @@ int TwitterProto::OnBuildStatusMenu(WPARAM wParam,LPARAM lParam)
if (hRoot == NULL)
return 0;
- CLISTMENUITEM mi = {sizeof(mi)};
-
char text[200];
strcpy(text,m_szModuleName);
char *tDest = text+strlen(text);
+
+ CLISTMENUITEM mi = { sizeof(mi) };
mi.pszService = text;
mi.hParentMenu = hRoot;