more "for" scope fixes

This commit is contained in:
Chris Danford
2004-09-25 05:10:10 +00:00
parent 2e6ffb73e0
commit 6fd5183134
6 changed files with 13 additions and 19 deletions
@@ -94,8 +94,7 @@ void InputHandler_Win32_Pump::InputThreadMain()
SetThreadPriorityBoost( GetCurrentThread(), FALSE );
vector<WindowsFileIO *> sources;
int i;
for(i = 0; i < NUM_PUMPS; ++i)
for( int i = 0; i < NUM_PUMPS; ++i )
{
if( dev[i].io.IsOpen() )
sources.push_back( &dev[i].io );