MOAR PERF

git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1929 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
chrisf
2008-03-13 03:28:49 +00:00
parent 25ece92b1f
commit f06bac7134
2 changed files with 22 additions and 18 deletions

View File

@@ -27,6 +27,9 @@ namespace OpenRa.FileFormats
bool ProcessSection( string line )
{
if (string.IsNullOrEmpty(line) || line.StartsWith(";"))
return false;
Match m = sectionPattern.Match( line );
if( m == null || !m.Success )
return false;