Fix dumb mistake in NoteSkinManager multi-match error message.
This commit is contained in:
@@ -508,11 +508,7 @@ RString NoteSkinManager::GetPathFromDirAndFile( const RString &sDir, const RStri
|
|||||||
if( matches.size() > 1 )
|
if( matches.size() > 1 )
|
||||||
{
|
{
|
||||||
RString sError = "Multiple files match '"+sDir+sFileName+"'. Please remove all but one of these files: ";
|
RString sError = "Multiple files match '"+sDir+sFileName+"'. Please remove all but one of these files: ";
|
||||||
sError+= matches[1];
|
sError+= join(", ", matches);
|
||||||
for(size_t n= 1; n < matches.size(); ++n)
|
|
||||||
{
|
|
||||||
sError+= ", " + matches[n];
|
|
||||||
}
|
|
||||||
LuaHelpers::ReportScriptError(sError, "NOTESKIN_ERROR");
|
LuaHelpers::ReportScriptError(sError, "NOTESKIN_ERROR");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user