mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
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:
+3
-2
@@ -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++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user