Corrected the previous commit, which did not fix the problem that

it claimed to fix, but caused an incorrect DRC maxwidth check
instead.  The problem appears to be correctly resolved now.
Also:  Tracked down a recently-introduced minor issue in which
the interactive DRC stops running after issuing "drc check" and
does not resume until another key or mouse even occurs.  This
turned out to be caused by the work on the "logcommands" command,
which should have used "*bypass" before "logcommands suspend"
and "logcommands resume", since the "*bypass" indicates that
the command has no impact on layout and should not interrupt
the DRC checker.
This commit is contained in:
Tim Edwards
2024-10-01 21:14:12 -04:00
parent 3e0ad4ff58
commit e2c3eb3e20
4 changed files with 37 additions and 18 deletions
+3 -2
View File
@@ -2017,6 +2017,7 @@ badTransform:
char argstr[1024];
githash1[0] = '\0';
githash2[0] = '\0';
/* Remove the file component */
sl1ptr = strrchr(pathptr, '/');
@@ -2487,8 +2488,8 @@ dbReadProperties(cellDef, line, len, f, scalen, scaled)
/* Skip forward four values in pvalueptr */
for (n = 0; n < 4; n++)
{
while (!isspace(*pptr)) pptr++;
while (isspace(*pptr) && (*pptr != '\0')) pptr++;
while ((*pptr != '\0') && !isspace(*pptr)) pptr++;
while ((*pptr != '\0') && isspace(*pptr)) pptr++;
}
}
}