diff options
Diffstat (limited to 'plugins/Clist_nicer/src/cluiframes.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/cluiframes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/cluiframes.cpp b/plugins/Clist_nicer/src/cluiframes.cpp index d0aa91a8ce..97eae87e5f 100644 --- a/plugins/Clist_nicer/src/cluiframes.cpp +++ b/plugins/Clist_nicer/src/cluiframes.cpp @@ -1335,8 +1335,8 @@ static int CLUIFramesLoadMainMenu() if (FramesSysNotStarted) return -1; - for (int i = 0; i < g_frameMenus.getCount(); i++) - Menu_RemoveItem(g_frameMenus[i]); + for (auto &it : g_frameMenus) + Menu_RemoveItem(it); g_frameMenus.destroy(); // create frames menu |