summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/src/InternalButtons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TopToolBar/src/InternalButtons.cpp')
-rw-r--r--plugins/TopToolBar/src/InternalButtons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TopToolBar/src/InternalButtons.cpp b/plugins/TopToolBar/src/InternalButtons.cpp
index b7f5c8995f..fb7566729d 100644
--- a/plugins/TopToolBar/src/InternalButtons.cpp
+++ b/plugins/TopToolBar/src/InternalButtons.cpp
@@ -114,7 +114,7 @@ void InitInternalButtons()
CreateServiceFunction(TTBI_STATUSMENUBUTT, TTBInternalStatusMenuButt);
CreateServiceFunction(TTBI_SHOWHIDEOFFLINE, TTBInternalShowHideOffline);
- for (int i = 0; i < SIZEOF(stdButtons); i++) {
+ for (int i = 0; i < _countof(stdButtons); i++) {
TTBButton ttb = {0};
ttb.cbSize = sizeof(ttb);
ttb.name = stdButtons[i].name;