From 10e18f66d871cd213a7b9a77e97b2d759fc98f4b Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 5 Jul 2008 02:08:46 +0000 Subject: [PATCH] param naming consistency --- stepmania/src/NotesLoaderBMS.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/NotesLoaderBMS.cpp b/stepmania/src/NotesLoaderBMS.cpp index 99b975e76e..8f83516b63 100644 --- a/stepmania/src/NotesLoaderBMS.cpp +++ b/stepmania/src/NotesLoaderBMS.cpp @@ -219,7 +219,7 @@ static bool GetTagFromMap( const NameToData_t &mapNameToData, const RString &sNa /* Finds the longest common match for the given tag in all files. If the given tag * was found in at least one file, returns true; otherwise returns false. */ -static bool GetCommonTagFromMapList( const vector &aBMSData, const RString &sName, RString &sCommonTag ) +static bool GetCommonTagFromMapList( const vector &aBMSData, const RString &sName, RString &sOut ) { bool bFoundOne = false; for( unsigned i=0; i < aBMSData.size(); i++ ) @@ -231,11 +231,11 @@ static bool GetCommonTagFromMapList( const vector &aBMSData, const if( !bFoundOne ) { bFoundOne = true; - sCommonTag = sTag; + sOut = sTag; } else { - sCommonTag = FindLargestInitialSubstring( sCommonTag, sTag ); + sOut = FindLargestInitialSubstring( sOut, sTag ); } }