summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/chicken.c6
-rw-r--r--mbbsd/gamble.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/mbbsd/chicken.c b/mbbsd/chicken.c
index 2bc1e64c..553cdbd5 100644
--- a/mbbsd/chicken.c
+++ b/mbbsd/chicken.c
@@ -1,4 +1,4 @@
-/* $Id: chicken.c,v 1.11 2003/04/27 13:00:16 in2 Exp $ */
+/* $Id: chicken.c,v 1.12 2003/06/28 08:44:35 kcwu Exp $ */
#include "bbs.h"
#define NUM_KINDS 13 /* 有多少種動物 */
@@ -1021,10 +1021,10 @@ chickenpk(int fd)
break;
}
}
- add_io(0, 0); /* 把igetch恢護回 */
+ add_io(0, 0); /* 把igetch恢復回 */
pressanykey();
close(fd);
- if (!showdeadth(deadtype(mychicken)));
+ showdeadth(deadtype(mychicken));
unlockutmpmode();
return 0;
}
diff --git a/mbbsd/gamble.c b/mbbsd/gamble.c
index 93342e00..4d64e416 100644
--- a/mbbsd/gamble.c
+++ b/mbbsd/gamble.c
@@ -1,4 +1,4 @@
-/* $Id: gamble.c,v 1.34 2003/05/26 11:24:28 ptt Exp $ */
+/* $Id: gamble.c,v 1.35 2003/06/28 08:45:02 kcwu Exp $ */
#include "bbs.h"
#ifndef _BBS_UTIL_C_
@@ -47,7 +47,7 @@ show_ticket_data(char betname[MAX_ITEM][MAX_ITEM_LEN],char *direct, int *price,
if (!(fp = fopen(genbuf, "r"))) {
prints("\n目前並沒有舉辦賭盤\n");
snprintf(genbuf, sizeof(genbuf), "%s/" FN_TICKET_OUTCOME, direct);
- if (more(genbuf, NA));
+ more(genbuf, NA);
return 0;
}
fgets(genbuf, MAX_ITEM_LEN, fp);