mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[form] enum form_mode -> form_mode_T
This commit is contained in:
parent
0f3be4d4fe
commit
86f18c2079
@ -80,6 +80,8 @@ enum form_mode {
|
||||
FORM_MODE_DISABLED,
|
||||
};
|
||||
|
||||
typedef unsigned char form_mode_T;
|
||||
|
||||
#define form_field_is_readonly(field) ((field)->mode != FORM_MODE_NORMAL)
|
||||
|
||||
enum form_wrap {
|
||||
@ -99,7 +101,7 @@ struct el_form_control {
|
||||
int position;
|
||||
|
||||
enum form_type type;
|
||||
enum form_mode mode;
|
||||
form_mode_T mode;
|
||||
|
||||
char *id; /**< used by scripts */
|
||||
char *name;
|
||||
|
@ -63,7 +63,7 @@ struct text_attrib {
|
||||
#endif
|
||||
|
||||
char *select;
|
||||
enum form_mode select_disabled;
|
||||
form_mode_T select_disabled;
|
||||
unsigned int tabindex;
|
||||
unicode_val_T accesskey;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user