summaryrefslogtreecommitdiffhomepage
path: root/Stars45/CmdTheaterDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/CmdTheaterDlg.cpp')
-rw-r--r--Stars45/CmdTheaterDlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/CmdTheaterDlg.cpp b/Stars45/CmdTheaterDlg.cpp
index 74d351d..8b1f087 100644
--- a/Stars45/CmdTheaterDlg.cpp
+++ b/Stars45/CmdTheaterDlg.cpp
@@ -98,7 +98,7 @@ CmdTheaterDlg::RegisterControls()
if (map_theater)
map_view = new(__FILE__,__LINE__) MapView(map_theater);
- for (i = 0; i < 3; i++) {
+ for (int i = 0; i < 3; i++) {
view_btn[i] = (Button*) FindControl(401 + i);
REGISTER_CLIENT(EID_CLICK, view_btn[i], CmdTheaterDlg, OnView);
}