summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config.h2
-rw-r--r--include/pttstruct.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index cd62633e..322aa3ca 100644
--- a/include/config.h
+++ b/include/config.h
@@ -160,7 +160,7 @@
#define MAX_FRIEND (256) /* 載入 cache 之最多朋友數目 */
#define MAX_REJECT (32) /* 載入 cache 之最多壞人數目 */
#define MAX_MSGS (10) /* 水球(熱訊)忍耐上限 */
-#define MAX_MOVIE (999) /* 最多動態看板數 */
+#define MAX_MOVIE (500) /* 最多動態看板數 */
#define MAX_MOVIE_SECTION (10) /* 最多動態看板類別 */
#define MAX_ITEMS (1000) /* 一個目錄最多有幾項 */
#define MAX_HISTORY (12) /* 動態看板保持 12 筆歷史記錄 */
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 537bbcfd..0bd0e0df 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -562,6 +562,8 @@ typedef struct {
/* pttcache */
char notes[MAX_MOVIE][200*11];
+ // 有人反應 200 不夠用,將來可能會提高
+ char this_is_unused_and_should_be_removed_later[499][200*11];
char gap_18[sizeof(int)];
char today_is[20];
int n_notes[MAX_MOVIE_SECTION]; /* 一節中有幾個 看板 */