diff options
Diffstat (limited to 'plugins/Popup/src/opt_adv.cpp')
-rw-r--r-- | plugins/Popup/src/opt_adv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Popup/src/opt_adv.cpp b/plugins/Popup/src/opt_adv.cpp index f9d4f75f8e..3ff5656108 100644 --- a/plugins/Popup/src/opt_adv.cpp +++ b/plugins/Popup/src/opt_adv.cpp @@ -37,8 +37,8 @@ void OptAdv_RegisterVfx(char *name) void OptAdv_UnregisterVfx()
{
- for (int i = 0; i < g_lstPopupVfx.getCount(); ++i)
- mir_free(g_lstPopupVfx[i]);
+ for (auto &it : g_lstPopupVfx)
+ mir_free(it);
g_lstPopupVfx.destroy();
}
|