summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-04 03:28:57 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-04 03:28:57 +0800
commitd7fe5b258c13cabd339cc4bda3aea25df93f31ea (patch)
treed501f262c5c70548cf7189558ab3da016fa56a1a /include
parent6eadc41a587bb1f362470e42d6b615e1567a6343 (diff)
downloadpttbbs-d7fe5b258c13cabd339cc4bda3aea25df93f31ea.tar
pttbbs-d7fe5b258c13cabd339cc4bda3aea25df93f31ea.tar.gz
pttbbs-d7fe5b258c13cabd339cc4bda3aea25df93f31ea.tar.bz2
pttbbs-d7fe5b258c13cabd339cc4bda3aea25df93f31ea.tar.lz
pttbbs-d7fe5b258c13cabd339cc4bda3aea25df93f31ea.tar.xz
pttbbs-d7fe5b258c13cabd339cc4bda3aea25df93f31ea.tar.zst
pttbbs-d7fe5b258c13cabd339cc4bda3aea25df93f31ea.zip
add 'where am I' in announce system (thanks to sangl@ptt[PttSuggestion])
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4492 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/pttstruct.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index ea6cf302..33f4febc 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -423,12 +423,13 @@ typedef struct {
} screen_backup_t;
// menu_t 其實是 gmenu_t (deprecated), 精華區專用 menu
-typedef struct {
+typedef struct menu_t {
+ int num, page, now, level, bid;
int header_size;
- fileheader_t *header;
+ fileheader_t *header;
+ const char *path;
+ struct menu_t *next;
char mtitle[STRLEN];
- const char *path;
- int num, page, now, level, bid;
} menu_t;
/* Used to pass commands to the readmenu.