mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Corrected an error introduced yesterday by a hasty fix, which
ended up breaking the "extresist" function by failing to parse the comment line of a .sim file. This is now fixed.
This commit is contained in:
+3
-3
@@ -198,10 +198,10 @@ ResReadSim(simfile, fetproc, capproc, resproc, attrproc, mergeproc, subproc)
|
||||
result = 1;
|
||||
break;
|
||||
}
|
||||
if (fettype < 0)
|
||||
if ((fettype != MINFINITY) && (fettype < 0))
|
||||
{
|
||||
TxError("Error in Reading device line of sim file:");
|
||||
TxError("Amgiguous or unknown device.\n");
|
||||
TxError("Error in Reading device line of sim file: ");
|
||||
TxError("Ambiguous or unknown device.\n");
|
||||
result = 1;
|
||||
}
|
||||
else if (fettype == DBNumTypes)
|
||||
|
||||
Reference in New Issue
Block a user