diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-12-20 19:10:28 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-12-20 19:10:28 +0000 |
commit | c913257a1eb9b0fdcac33c1b45b309261048f761 (patch) | |
tree | cabe9ffbcceb441dba46626257eb463be03e002a /protocols/Steam/src/steam_menus.cpp | |
parent | c85f29701349a22dadca357c770296b7e8475db1 (diff) |
Steam: Various code improvements (as reported by Coverity analyser); version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@11544 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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) };
|