diff options
Diffstat (limited to 'plugins/Console/src/init.cpp')
-rw-r--r-- | plugins/Console/src/init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Console/src/init.cpp b/plugins/Console/src/init.cpp index 0b1e1f83af..ed851e6e20 100644 --- a/plugins/Console/src/init.cpp +++ b/plugins/Console/src/init.cpp @@ -61,7 +61,7 @@ static IconItem iconList[] = HANDLE LoadIcon(int iIconID)
{
- for (int i = 0; i < SIZEOF(iconList); i++)
+ for (int i = 0; i < _countof(iconList); i++)
if (iconList[i].defIconID == iIconID)
return iconList[i].hIcolib;
return NULL;
@@ -71,7 +71,7 @@ extern "C" __declspec(dllexport) int Load(void) {
mir_getLP(&pluginInfoEx);
- Icon_Register(hInst, "Console", iconList, SIZEOF(iconList));
+ Icon_Register(hInst, "Console", iconList, _countof(iconList));
InitCommonControls();
InitConsole();
|