mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-08 06:44:12 +08:00
修正一下上下按钮处理的row位置
This commit is contained in:
parent
8f626c535d
commit
20eb7a87eb
@ -194,7 +194,7 @@ static void draw_options( int start_row, int start_idx, int option_cnt, int sele
|
||||
}
|
||||
}
|
||||
|
||||
#define SELECTED_ROW(top, len, sel) ((top) < (len) ? (len)-(top)+(sel) : (sel)+(len)-(top))
|
||||
#define SELECTED_ROW(top, len, sel) (((top) < (len)) ? ((len)-(top)+(sel)) : ((sel)+(len)-(top)))
|
||||
#define REFRESH_PAGE {\
|
||||
if( idx_top < title_len )\
|
||||
{\
|
||||
|
Loading…
x
Reference in New Issue
Block a user