Just one here.

This commit is contained in:
Jason Felds
2013-04-30 22:17:40 -04:00
parent 1c9e72440f
commit 3c026ced74
+5 -5
View File
@@ -48,17 +48,17 @@ void ScreenOptionsMemoryCard::CreateMenu()
{ {
vector<OptionRowHandler*> vHands; vector<OptionRowHandler*> vHands;
FOREACH_CONST( UsbStorageDevice, m_CurrentUsbStorageDevices, iter ) for (UsbStorageDevice const &iter : m_CurrentUsbStorageDevices)
{ {
vector<RString> vs; vector<RString> vs;
if( iter->sVolumeLabel.empty() ) if( iter.sVolumeLabel.empty() )
vs.push_back( NO_LABEL ); vs.push_back( NO_LABEL );
else else
vs.push_back( iter->sVolumeLabel ); vs.push_back( iter.sVolumeLabel );
if( iter->iVolumeSizeMB == 0 ) if( iter.iVolumeSizeMB == 0 )
vs.push_back( SIZE_UNKNOWN ); vs.push_back( SIZE_UNKNOWN );
else else
vs.push_back( ssprintf(RString(VOLUME_SIZE).c_str(),iter->iVolumeSizeMB) ); vs.push_back( ssprintf(RString(VOLUME_SIZE).c_str(),iter.iVolumeSizeMB) );
vHands.push_back( OptionRowHandlerUtil::MakeNull() ); vHands.push_back( OptionRowHandlerUtil::MakeNull() );