# HG changeset patch
# User Markus Bröker<broeker.markus@googlemail.com>
# Date 1549801021 -3600
# Node ID 374a86886bc508afaf351ca57987e9e5415a2f02
# Parent  43ae72f88d0636351bf04d92be75d3515dab1e09
LAST-DIGIT-BUG: INCREMENT before LF

diff --git a/osx/hello.asm b/osx/hello.asm
--- a/osx/hello.asm
+++ b/osx/hello.asm
@@ -115,6 +115,7 @@
 
   ;; add newline and string terminator
   newline:
+    inc di
     mov BYTE [di], 10
     inc di
     mov BYTE [di], 0
@@ -144,6 +145,6 @@
   push DWORD 1        ;; stdout
 
   call asm_write      ;;
-
+  
   add esp, 12         ;; cleanup stack
   ret