summaryrefslogtreecommitdiff
path: root/plugins/MirLua
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-15 14:33:49 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-15 14:33:49 +0300
commitd5ed49db10c48031e98e92c0a577964b0581c794 (patch)
tree299805b4940321bd25c2290523b21f460fd8e4ad /plugins/MirLua
parent57ff99c9525a7bc381392f28f2b54e3df3c45db1 (diff)
CCtrlListView::addItem() doesn't add strings in the reverse order anymore
Diffstat (limited to 'plugins/MirLua')
-rw-r--r--plugins/MirLua/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/options.cpp b/plugins/MirLua/src/options.cpp
index 95bb8d44c0..0da9f34357 100644
--- a/plugins/MirLua/src/options.cpp
+++ b/plugins/MirLua/src/options.cpp
@@ -30,7 +30,7 @@ static int ScriptStatusToIcon(ScriptStatus status)
void CMLuaOptionsMain::LoadScripts()
{
- for (auto &script : g_plugin.m_scripts.rev_iter()) {
+ for (auto &script : g_plugin.m_scripts) {
int iIcon = ScriptStatusToIcon(script->GetStatus());
int iItem = m_scriptsList.AddItem(script->GetName(), iIcon, (LPARAM)script);
m_scriptsList.SetCheckState(iItem, script->IsEnabled());