From ca7da4b531c8eec11ccce74376b2db98fb7b8b51 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Thu, 8 Dec 2005 05:22:40 +0000 Subject: [PATCH] show InputDevice name next to description --- stepmania/src/ScreenTestInput.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/stepmania/src/ScreenTestInput.cpp b/stepmania/src/ScreenTestInput.cpp index 21ce77bfcb..d35392d4fc 100644 --- a/stepmania/src/ScreenTestInput.cpp +++ b/stepmania/src/ScreenTestInput.cpp @@ -31,16 +31,18 @@ void ScreenTestInput::Init() { vector vDevices; vector vDescriptions; + vector vs; INPUTMAN->GetDevicesAndDescriptions( vDevices, vDescriptions ); - FOREACH( CString, vDescriptions, s ) + ASSERT( vDevices.size() == vDescriptions.size() ); + for( int i=0; iAddChild( &m_textDevices );