os_print_string no longer can be counted on for literal strings
authorDavid Griffith <dave@661.org>
Tue, 17 Jan 2012 22:33:39 +0000 (14:33 -0800)
committerDavid Griffith <dave@661.org>
Tue, 17 Jan 2012 22:33:39 +0000 (14:33 -0800)
src/curses/ux_init.c

index e57c1a064305066493aa1a2f0a9d2037a2794f39..c40db77e2f57473a450f9ea84067995bcf51b314 100644 (file)
@@ -455,7 +455,7 @@ void os_reset_screen (void)
 
     os_stop_sample(0);
     os_set_text_style(0);
-    os_display_string((zchar *) "[Hit any key to exit.]");
+    print_string("[Hit any key to exit.]\n");
     os_read_key(0, FALSE);
     scrollok(stdscr, TRUE); scroll(stdscr);
     refresh(); endwin();