diff options
Diffstat (limited to 'protocols/Steam/src/steam_menus.cpp')
-rw-r--r-- | protocols/Steam/src/steam_menus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_menus.cpp b/protocols/Steam/src/steam_menus.cpp index 0a962707e5..44c058b4f2 100644 --- a/protocols/Steam/src/steam_menus.cpp +++ b/protocols/Steam/src/steam_menus.cpp @@ -97,7 +97,7 @@ int CSteamProto::PrebuildContactMenu(WPARAM wParam, LPARAM lParam) void CSteamProto::OnInitStatusMenu()
{
char text[200];
- strcpy(text, m_szModuleName);
+ mir_strncpy(text, m_szModuleName, 100);
char* tDest = text + strlen(text);
CLISTMENUITEM mi = { sizeof(mi) };
|