fixed bug 791
Modified: trunk/reactos/tools/rbuild/project.cpp

Modified: trunk/reactos/tools/rbuild/project.cpp
--- trunk/reactos/tools/rbuild/project.cpp	2005-11-16 11:24:41 UTC (rev 19262)
+++ trunk/reactos/tools/rbuild/project.cpp	2005-11-16 13:24:13 UTC (rev 19263)
@@ -227,6 +227,9 @@
 		}
 	}
 
+	if (node == NULL)
+		node = head->subElements[0];
+
 	throw InvalidBuildFileException (
 		node->location,
 		"Document contains no 'project' tag." );