Provide a Raw version of ShowNodeCnt to avoid more #ifdef's.
[gnushogi.git] / gnushogi / cursesdsp.c
index dd6b10f..c717a9f 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <ctype.h>
 #include <signal.h>
+#include <stdio.h>
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -162,14 +163,14 @@ Curses_Printf(const char *format, ...)
 
 
 void
-Curses_RequestInputString(char* buffer)
+Curses_doRequestInputString(const char* fmt, char* buffer)
 {
-    FLUSH_SCANW("%s", buffer);
+    FLUSH_SCANW(fmt, buffer);
 }
 
 
 void
-ShowNodeCnt(long NodeCnt)
+Curses_ShowNodeCnt(long NodeCnt)
 {
     gotoXY(TAB, 22);
     /* printw(CP[90], NodeCnt, (et > 100) ? NodeCnt / (et / 100) : 0); */