improve output

This commit is contained in:
Glenn Maynard
2003-07-20 21:23:20 +00:00
parent ca9b02c3b8
commit e38ecdafe1
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ bool IniFile::ReadFile()
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));
return 0;
}
+2 -2
View File
@@ -124,8 +124,8 @@ CString NoteSkinManager::GetMetric( PlayerNumber pn, CString sButtonName, CStrin
if( data.metrics.GetValue( sButtonName, sValue, sReturn ) )
return sReturn;
if( !data.metrics.GetValue( "NoteDisplay", sValue, sReturn ) )
RageException::Throw( "Could not read metric '%s - %s' or 'NoteDisplay - %s'",
sButtonName.c_str(), sValue.c_str(), sValue.c_str() );
RageException::Throw( "Could not read metric '%s - %s' or 'NoteDisplay - %s' in '%s'",
sButtonName.c_str(), sValue.c_str(), sValue.c_str(), sNoteSkinName.c_str() );
return sReturn;
}