summaryrefslogtreecommitdiff
path: root/plugins/wbOSD/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/wbOSD/src/options.cpp')
-rw-r--r--plugins/wbOSD/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wbOSD/src/options.cpp b/plugins/wbOSD/src/options.cpp
index 9136649854..3b2e777958 100644
--- a/plugins/wbOSD/src/options.cpp
+++ b/plugins/wbOSD/src/options.cpp
@@ -21,7 +21,7 @@ void FillCheckBoxTree(HWND hwndTree, DWORD style)
tvis.hParent = nullptr;
tvis.hInsertAfter = TVI_LAST;
tvis.item.mask = TVIF_PARAM | TVIF_TEXT | TVIF_STATE;
- for (WORD status = ID_STATUS_OFFLINE; status <= ID_STATUS_OUTTOLUNCH; status++) {
+ for (WORD status = ID_STATUS_OFFLINE; status <= ID_STATUS_MAX; status++) {
tvis.item.lParam = status - ID_STATUS_OFFLINE;
tvis.item.pszText = Clist_GetStatusModeDescription(status, 0);
tvis.item.stateMask = TVIS_STATEIMAGEMASK;