diff options
author | A. S. Budden <abudden@gmail.com> | 2016-06-13 16:44:14 +0100 |
---|---|---|
committer | A. S. Budden <abudden@gmail.com> | 2016-06-13 16:44:14 +0100 |
commit | 1095b35a79abfd8c59db8dc92e8aab5951bc4093 (patch) | |
tree | 81eec1c4b2720412edae261de1ceade628877b04 /lib/system/excpt.nim | |
parent | 5327cd0a84df0ad6c29bf534003ba7c97e9bcb73 (diff) | |
parent | 58bb12d5ce431fce70a22fa69b80bf021e2d1ce6 (diff) | |
download | Nim-1095b35a79abfd8c59db8dc92e8aab5951bc4093.tar.gz |
Merged upstream/devel into this branch to resolve conflicts and ensure an easy merge back into upstream/devel
Diffstat (limited to 'lib/system/excpt.nim')
-rw-r--r-- | lib/system/excpt.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index 948f87410..526e27c83 100644 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -255,7 +255,7 @@ proc raiseExceptionAux(e: ref Exception) = add(buf, "Error: unhandled exception: ") if not isNil(e.msg): add(buf, e.msg) add(buf, " [") - xadd(buf, e.name, c_strlen(e.name)) + xadd(buf, e.name, e.name.len) add(buf, "]\n") showErrorMessage(buf) quitOrDebug() |