summaryrefslogtreecommitdiffstats
path: root/mbbsd/dark.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/dark.c')
-rw-r--r--mbbsd/dark.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/dark.c b/mbbsd/dark.c
index c567cced..03777a2e 100644
--- a/mbbsd/dark.c
+++ b/mbbsd/dark.c
@@ -163,7 +163,7 @@ draw_line(sint y, sint f)
move(cury[y], 3);
clrtoeol();
- prints("%s", buf);
+ outs(buf);
}
static void
@@ -307,7 +307,7 @@ playing(sint fd, sint color, sint ch, sint * b, userinfo_t * uin)
else
rcount--;
move(cur_eaty, cur_eatx);
- prints("%s", (color) ? bname[brd[my][mx].value] : rname[brd[my][mx].value]);
+ outs((color) ? bname[brd[my][mx].value] : rname[brd[my][mx].value]);
if (cur_eatx >= 26) {
cur_eatx = 5;
cur_eaty++;
@@ -524,11 +524,11 @@ main_dark(int fd, userinfo_t * uin)
if (currutmp->turn == 'w') {
move(22, 0);
clrtoeol();
- prints("你贏了.. 真是恭喜~~");
+ outs("你贏了.. 真是恭喜~~");
} else {
move(22, 0);
clrtoeol();
- prints("輸掉了啦.....下次讓他好看!!");
+ outs("輸掉了啦.....下次讓他好看!!");
}
break;
case -3: