From 64ee4a54f4730cdf777d75694ab48280f543ac88 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 8 Dec 2011 18:12:44 +0000 Subject: More scoping fixes --- Stars45/CmdTheaterDlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/CmdTheaterDlg.cpp') 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); } -- cgit v1.1