make some system modules compile again

This commit is contained in:
Andreas Rumpf 2017-10-29 19:42:33 +01:00
commit c0433b0b6c
2 changed files with 19 additions and 19 deletions

View file

@ -127,7 +127,7 @@ proc fileMatches(c, bp: cstring): bool =
proc canonFilename*(filename: cstring): cstring =
## returns 'nil' if the filename cannot be found.
for i in 0 ..< dbgFilenameLen:
for i in 0 .. dbgFilenameLen-1:
result = dbgFilenames[i]
if fileMatches(result, filename): return result
result = nil