fix crash

This commit is contained in:
Glenn Maynard
2008-03-17 18:52:17 +00:00
parent 6aecb09f37
commit 2b2c0221ab
+1 -1
View File
@@ -54,7 +54,7 @@ bool IniFile::ReadFile( RageFileBasic &f )
line += s;
if( line[line.size()-1] != '\\' )
if( line.empty() || line[line.size()-1] != '\\' )
break;
line.erase( line.end()-1 );