summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/announce.c3
-rw-r--r--mbbsd/topsong.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c
index 8413897b..723a55fb 100644
--- a/mbbsd/announce.c
+++ b/mbbsd/announce.c
@@ -1,4 +1,4 @@
-/* $Id: announce.c,v 1.16 2002/07/22 19:02:00 in2 Exp $ */
+/* $Id: announce.c,v 1.17 2002/07/27 10:04:34 kcwu Exp $ */
#include "bbs.h"
static void
@@ -1471,6 +1471,7 @@ a_menu(char *maintitle, char *path, int lastlevel)
fname, sizeof(trans_buffer));
Fexit = 1;
if (currstat == OSONG) {
+ /* XXX: 只選歌未點歌可灌排行榜 */
log_file(FN_USSONG, fhdr->title);
}
free(me.header);
diff --git a/mbbsd/topsong.c b/mbbsd/topsong.c
index a745b4a5..015f7de5 100644
--- a/mbbsd/topsong.c
+++ b/mbbsd/topsong.c
@@ -1,4 +1,4 @@
-/* $Id: topsong.c,v 1.5 2002/07/21 09:26:02 in2 Exp $ */
+/* $Id: topsong.c,v 1.6 2002/07/27 10:04:34 kcwu Exp $ */
#include "bbs.h"
#define MAX_SONGS 300
@@ -51,6 +51,7 @@ sortsong()
return;
}
totalcount = 0;
+ /* XXX: 除了前 MAX_SONGS 首, 剩下不會排序 */
while (fgets(buf, 200, fp)) {
strtok(buf, "\n\r");
strip_blank(cbuf, buf);