Browse Source

Workaround bug in Plibc by resetting locale to "C" at startup

Luke Dashjr 12 years ago
parent
commit
652d7a5576
1 changed files with 1 additions and 0 deletions
  1. 1 0
      miner.c

+ 1 - 0
miner.c

@@ -9737,6 +9737,7 @@ int main(int argc, char *argv[])
 	if (opt_realquiet || opt_display_devs)
 		use_curses = false;
 
+	setlocale(LC_ALL, "C");
 	if (use_curses)
 		enable_curses();
 #endif