summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/go.c1
-rw-r--r--mbbsd/name.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/go.c b/mbbsd/go.c
index e82c913a..e4918076 100644
--- a/mbbsd/go.c
+++ b/mbbsd/go.c
@@ -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;