fix error message

This commit is contained in:
Glenn Maynard
2005-03-11 23:09:36 +00:00
parent 74c023a93b
commit b6401f145b
+1 -1
View File
@@ -345,7 +345,7 @@ bool NotesWriterDWI::Write( CString sPath, const Song &out )
{
RageFile f;
if( !f.Open( sPath, RageFile::WRITE ) )
RageException::Throw( "Error opening song file '%s' for writing.", f.GetError().c_str() );
RageException::Throw( "Error opening song file \"%s\" for writing: \"%s\"", sPath.c_str(), f.GetError().c_str() );
/* Write transliterations, if we have them, since DWI doesn't support UTF-8. */
f.PutLine( ssprintf("#TITLE:%s;", out.GetFullTranslitTitle().c_str()) );