More tweaks.

This commit is contained in:
Robert Clipsham
2009-06-01 18:58:21 +01:00
parent c5be82c5ae
commit 91ddf6140a
8 changed files with 59 additions and 5 deletions

View File

@@ -620,7 +620,11 @@ void Module::genmoduleinfo()
fatal();
}
// check for patch
#if DMDV2
else if (moduleinfo->fields.dim != 10)
#else
else if (moduleinfo->fields.dim != 9)
#endif
{
error("object.d ModuleInfo class is incorrect");
fatal();