summary refs log tree commit diff stats
path: root/compiler/msgs.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/msgs.nim')
-rw-r--r--compiler/msgs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index 649e28cba..a556ad0c5 100644
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -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) =