diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-01 23:04:04 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-01 23:04:04 +0100 |
commit | c2efba6907fab934a04959b9bb644cf7141cc955 (patch) | |
tree | c047244f99870e44a7a5d7e733c2857434c03765 /src/T2DLL/T2OptionPluginList.cpp | |
parent | 1eb8da84d77d0c865623421069ec38bfc7b0d461 (diff) | |
download | t2win-c2efba6907fab934a04959b9bb644cf7141cc955.tar.gz t2win-c2efba6907fab934a04959b9bb644cf7141cc955.zip |
matched T2DLL as well as i can
Diffstat (limited to 'src/T2DLL/T2OptionPluginList.cpp')
-rw-r--r-- | src/T2DLL/T2OptionPluginList.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/T2DLL/T2OptionPluginList.cpp b/src/T2DLL/T2OptionPluginList.cpp index d060b95..278086d 100644 --- a/src/T2DLL/T2OptionPluginList.cpp +++ b/src/T2DLL/T2OptionPluginList.cpp @@ -22,11 +22,11 @@ void T2OptionPluginList::OnIdle(T2TowerDoc* towerDoc) { BOOL T2OptionPluginList::DispatchEvent(OPTIONEVENTTYPE eventType, T2TowerDoc* towerDoc, void* data) { LArrayIterator iterator(*this); - T2OptionPlugin *plugin; BOOL result = true; - while (iterator.Next(&plugin)) { - result = result && plugin->OnEvent(eventType, towerDoc, data); + T2OptionPlugin *thePlugin; + while (iterator.Next(&thePlugin)) { + result = result && thePlugin->OnEvent(eventType, towerDoc, data); } return result; |