diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-29 11:33:14 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-29 11:33:14 +0800 |
commit | 355996889f971d3431cba4cd206c49937854a7a9 (patch) | |
tree | cd8ef0a52420f4ed9513fb6ad9f0ed3c3157f9ea /include/pttstruct.h | |
parent | 49a3549d92809881652ad6ec6adad666084d7d3a (diff) | |
download | pttbbs-355996889f971d3431cba4cd206c49937854a7a9.tar pttbbs-355996889f971d3431cba4cd206c49937854a7a9.tar.gz pttbbs-355996889f971d3431cba4cd206c49937854a7a9.tar.bz2 pttbbs-355996889f971d3431cba4cd206c49937854a7a9.tar.lz pttbbs-355996889f971d3431cba4cd206c49937854a7a9.tar.xz pttbbs-355996889f971d3431cba4cd206c49937854a7a9.tar.zst pttbbs-355996889f971d3431cba4cd206c49937854a7a9.zip |
- fix announce crash bugs (reason: entering a_menu may have different board
than currbid/currboard.)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3754 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r-- | include/pttstruct.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h index d7cb7500..eb2edb5c 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -282,13 +282,6 @@ typedef struct { union xitem_t X; } item_t; -typedef struct { - item_t *item[MAX_ITEMS]; - char mtitle[STRLEN]; - char *path; - int num, page, now, level; -} gmenu_t; - #define FAVMAX 1024 /* Max boards of Myfavorite */ #define FAVGMAX 32 /* Max groups of Myfavorite */ #define FAVGSLEN 8 /* Max Length of Description String */ @@ -416,12 +409,13 @@ typedef struct { void *raw_memory; } screen_backup_t; +// menu_t 其實是 gmenu_t (deprecated), 精華區專用 menu typedef struct { int header_size; fileheader_t *header; char mtitle[STRLEN]; const char *path; - int num, page, now, level; + int num, page, now, level, bid; } menu_t; /* Used to pass commands to the readmenu. |