changeset 147:301ed6992c2e

arogue7, xrogue: put newlines at the end of startup messages.
author John "Elwin" Edwards
date Wed, 20 May 2015 15:15:29 -0400
parents 5a77931393f4
children c8fc38d903a3
files arogue7/main.c xrogue/main.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/arogue7/main.c	Wed May 20 12:51:16 2015 -0400
+++ b/arogue7/main.c	Wed May 20 15:15:29 2015 -0400
@@ -175,9 +175,9 @@
 	atoi(getenv("SEED")) :
 	lowtime + getpid());
     if (wizard)
-	printf("Hello %s, welcome to dungeon #%d", whoami, dnum);
+	printf("Hello %s, welcome to dungeon #%d\n", whoami, dnum);
     else
-	printf("Hello %s, just a moment while I dig the dungeon...", whoami);
+	printf("Hello %s, just a moment while I dig the dungeon...\n", whoami);
     fflush(stdout);
     seed = dnum;
     md_srand(seed);
--- a/xrogue/main.c	Wed May 20 12:51:16 2015 -0400
+++ b/xrogue/main.c	Wed May 20 15:15:29 2015 -0400
@@ -166,9 +166,9 @@
         seed = (int) time(&now) + getpid();
     }
     if (wizard)
-        printf("Hello %s, welcome to dungeon #%d", whoami, seed);
+        printf("Hello %s, welcome to dungeon #%d\n", whoami, seed);
     else
-        printf("Hello %s, just a moment while I dig the dungeon...", whoami);
+        printf("Hello %s, just a moment while I dig the dungeon...\n", whoami);
     fflush(stdout);
    
     md_srand(seed);