diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-10-29 19:42:33 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-10-29 19:42:33 +0100 |
commit | c0433b0b6cd42c279cd2c259eb45636670db1fc7 (patch) | |
tree | f64e0b6eeaf100c5131b43f084b77ba5406697c6 /lib/system/debugger.nim | |
parent | 29c075299d12111cf8925a14d544008fb416ec7e (diff) | |
download | Nim-c0433b0b6cd42c279cd2c259eb45636670db1fc7.tar.gz |
make some system modules compile again
Diffstat (limited to 'lib/system/debugger.nim')
-rw-r--r-- | lib/system/debugger.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/debugger.nim b/lib/system/debugger.nim index cbf977f19..d9075de16 100644 --- a/lib/system/debugger.nim +++ b/lib/system/debugger.nim @@ -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 |