diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-01-20 00:06:06 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-01-20 00:06:06 +0800 |
commit | 795d7da28a8514e8315643820badb86919da2e2e (patch) | |
tree | 1911b4e7e874dd5999ea49ac5767ca720c7ac2e9 /mbbsd/indict.c | |
parent | 26382c16358fd5e6746a7a4d00210248b0c255c5 (diff) | |
download | pttbbs-795d7da28a8514e8315643820badb86919da2e2e.tar pttbbs-795d7da28a8514e8315643820badb86919da2e2e.tar.gz pttbbs-795d7da28a8514e8315643820badb86919da2e2e.tar.bz2 pttbbs-795d7da28a8514e8315643820badb86919da2e2e.tar.lz pttbbs-795d7da28a8514e8315643820badb86919da2e2e.tar.xz pttbbs-795d7da28a8514e8315643820badb86919da2e2e.tar.zst pttbbs-795d7da28a8514e8315643820badb86919da2e2e.zip |
* there are so many fopen() without fclose()
* assert fopen()
* clean up
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/indict.c')
-rw-r--r-- | mbbsd/indict.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/indict.c b/mbbsd/indict.c index 93d955a1..1de9b02c 100644 --- a/mbbsd/indict.c +++ b/mbbsd/indict.c @@ -1,4 +1,4 @@ -/* $Id: indict.c,v 1.11 2003/01/16 14:37:31 kcwu Exp $ */ +/* $Id: indict.c,v 1.12 2003/01/19 16:06:06 kcwu Exp $ */ #include "bbs.h" #define REFER "etc/dicts" @@ -51,6 +51,7 @@ choose_dict(void) "(\033[36m%d\033[m) %-20s¤j¦r¨å", c + 1, buf[c]); outs(cho); } + fclose(fp); getdata(22, 14, " ¡¹ ½Ð¿ï¾Ü¡A[Enter]Â÷¶}¡G", cho, 3, LCECHO); cho[0] -= '1'; |