fixed bug 791
[reactos.git] / reactos / tools / rbuild / project.cpp
index 00ab3ab..e74e44f 100644 (file)
@@ -227,6 +227,9 @@ Project::ReadXml ()
                }
        }
 
+       if (node == NULL)
+               node = head->subElements[0];
+
        throw InvalidBuildFileException (
                node->location,
                "Document contains no 'project' tag." );