summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraIcons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MRA/src/MraIcons.cpp')
-rw-r--r--protocols/MRA/src/MraIcons.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/MRA/src/MraIcons.cpp b/protocols/MRA/src/MraIcons.cpp
index e3ab42fa65..c92a183c2a 100644
--- a/protocols/MRA/src/MraIcons.cpp
+++ b/protocols/MRA/src/MraIcons.cpp
@@ -107,9 +107,9 @@ void InitXStatusIcons()
hXStatusAdvancedStatusIcons[0] = NULL;
for (DWORD i = 1; i < MRA_XSTATUS_COUNT+1; i++) {
- char szBuff[MAX_PATH];
- mir_snprintf(szBuff, _countof(szBuff), "mra_xstatus%ld", i);
- sid.pszName = szBuff;
+ char szIconName[MAX_PATH];
+ mir_snprintf(szIconName, _countof(szIconName), "mra_xstatus%ld", i);
+ sid.pszName = szIconName;
int iCurIndex = i+IDI_XSTATUS1-1;
sid.description.t = (TCHAR*)lpcszXStatusNameDef[i];