make some system modules compile again
This commit is contained in:
parent
29c075299d
commit
c0433b0b6c
2 changed files with 19 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue