Browse Source

Bugfix: Pass newlines as ASCII (fixes lack of them in non-unicode builds)

Luke Dashjr 12 years ago
parent
commit
531831de00
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -3353,7 +3353,7 @@ void bfg_waddstr(WINDOW *win, const char *s)
 	
 	while (true)
 	{
-		while (likely(p[0] >= 0x20 && p[0] < stop_ascii))
+		while (likely(p[0] == '\n' || (p[0] >= 0x20 && p[0] < stop_ascii)))
 		{
 			// Printable ASCII
 			++p;