From 78794d2d6f07943d9fabb7ec7b06daed7520b818 Mon Sep 17 00:00:00 2001 From: rheiny Date: Sun, 11 Feb 2007 18:49:21 +0000 Subject: [PATCH] Broke the build. --- src/drivers/win/mapinput.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/drivers/win/mapinput.cpp b/src/drivers/win/mapinput.cpp index df2b5a10..a74a0dec 100644 --- a/src/drivers/win/mapinput.cpp +++ b/src/drivers/win/mapinput.cpp @@ -598,7 +598,9 @@ void InitFilterComboBox(HWND hwndDlg) // Populate the filter combobox. SendDlgItemMessage(hwndDlg, COMBO_FILTER, CB_INSERTSTRING, 0, (LPARAM)"None"); - for(unsigned i = 0; i < EMUCMDTYPE_MAX; ++i) + unsigned i; + + for(i = 0; i < EMUCMDTYPE_MAX; ++i) { SendDlgItemMessage(hwndDlg, COMBO_FILTER, CB_INSERTSTRING, i+1, (LPARAM)FCEUI_CommandTypeNames[i]); }