improve output
This commit is contained in:
@@ -44,7 +44,7 @@ bool IniFile::ReadFile()
|
|||||||
|
|
||||||
if (f == NULL)
|
if (f == NULL)
|
||||||
{
|
{
|
||||||
LOG->Trace("INI: FAILED: %s", strerror(errno));
|
LOG->Trace("Reading '%s' failed: %s", path.c_str(), strerror(errno));
|
||||||
error = ssprintf("Unable to open ini file: %s", strerror(errno));
|
error = ssprintf("Unable to open ini file: %s", strerror(errno));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,8 +124,8 @@ CString NoteSkinManager::GetMetric( PlayerNumber pn, CString sButtonName, CStrin
|
|||||||
if( data.metrics.GetValue( sButtonName, sValue, sReturn ) )
|
if( data.metrics.GetValue( sButtonName, sValue, sReturn ) )
|
||||||
return sReturn;
|
return sReturn;
|
||||||
if( !data.metrics.GetValue( "NoteDisplay", sValue, sReturn ) )
|
if( !data.metrics.GetValue( "NoteDisplay", sValue, sReturn ) )
|
||||||
RageException::Throw( "Could not read metric '%s - %s' or 'NoteDisplay - %s'",
|
RageException::Throw( "Could not read metric '%s - %s' or 'NoteDisplay - %s' in '%s'",
|
||||||
sButtonName.c_str(), sValue.c_str(), sValue.c_str() );
|
sButtonName.c_str(), sValue.c_str(), sValue.c_str(), sNoteSkinName.c_str() );
|
||||||
return sReturn;
|
return sReturn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user