summaryrefslogtreecommitdiffstats
path: root/include/pttstruct.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pttstruct.h')
-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.