diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-11-06 21:33:10 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-11-06 21:33:10 +0800 |
commit | 9ae727ce327adc056b185798a1ccca256ae50860 (patch) | |
tree | c7989e445a1f0776c4b80af7202b672d7fe79677 | |
parent | 54f79e7cc5079c498fa9d5591c0ae3550a5730aa (diff) | |
download | pttbbs-9ae727ce327adc056b185798a1ccca256ae50860.tar pttbbs-9ae727ce327adc056b185798a1ccca256ae50860.tar.gz pttbbs-9ae727ce327adc056b185798a1ccca256ae50860.tar.bz2 pttbbs-9ae727ce327adc056b185798a1ccca256ae50860.tar.lz pttbbs-9ae727ce327adc056b185798a1ccca256ae50860.tar.xz pttbbs-9ae727ce327adc056b185798a1ccca256ae50860.tar.zst pttbbs-9ae727ce327adc056b185798a1ccca256ae50860.zip |
comment todo
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2319 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/go.c | 1 | ||||
-rw-r--r-- | mbbsd/name.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -17,6 +17,7 @@ #define BRDSIZ (19) /* 棋盤單邊大小 */ +/* FIXME 當游標在棋盤邊緣, 再繼續移, cursor 會跑掉 */ #define move(y,x) move(y, (x) + ((y) < 2 || (y) > 20 ? 0 : \ (x) > 43 ? 11 : 8)) #define iBGOTO(x,y) move(20 - (y) , (x) * 2 + 4 - 8),do_move(20-(y),(x)*2+4) // really dirty >< diff --git a/mbbsd/name.c b/mbbsd/name.c index a012ab93..9253a843 100644 --- a/mbbsd/name.c +++ b/mbbsd/name.c @@ -374,6 +374,7 @@ usercomplete(char *prompt, char *data) int clearbot = NA, count = 0, morenum = 0; char ch; + /* TODO 節省記憶體. (不過這個 function 不常占記憶體...) */ cwbuf = malloc(MAX_USERS * (IDLEN + 1)); cwlist = u_namearray((arrptr) cwbuf, &cwnum, ""); temp = data; |