Fixed deprecation warnings while Nim compiles.

I just removed unsigned and changed a writeLn() call to writeLine() to
avoid the remaining deprecation warnings.
This commit is contained in:
Hans Raaf 2016-01-18 18:12:07 +01:00
commit 0634486689
7 changed files with 7 additions and 8 deletions

View file

@ -828,7 +828,7 @@ proc quit(msg: TMsgKind) =
proc log*(s: string) {.procvar.} =
var f: File
if open(f, "nimsuggest.log", fmAppend):
f.writeln(s)
f.writeLine(s)
close(f)
proc handleError(msg: TMsgKind, eh: TErrorHandling, s: string) =