mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Ticket #3693: code cleanup before 4.8.19 release.
WRadio: remove unused 'state' field. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
43d7fce730
commit
aa6055b6aa
@ -195,7 +195,6 @@ radio_new (int y, int x, int count, const char **texts)
|
|||||||
/* 4 is width of "(*) " */
|
/* 4 is width of "(*) " */
|
||||||
widget_init (w, y, x, count, 4 + wmax, radio_callback, radio_mouse_callback);
|
widget_init (w, y, x, count, 4 + wmax, radio_callback, radio_mouse_callback);
|
||||||
w->options |= WOP_SELECTABLE | WOP_WANT_CURSOR | WOP_WANT_HOTKEY;
|
w->options |= WOP_SELECTABLE | WOP_WANT_CURSOR | WOP_WANT_HOTKEY;
|
||||||
r->state = 1;
|
|
||||||
r->pos = 0;
|
r->pos = 0;
|
||||||
r->sel = 0;
|
r->sel = 0;
|
||||||
r->count = count;
|
r->count = count;
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
typedef struct WRadio
|
typedef struct WRadio
|
||||||
{
|
{
|
||||||
Widget widget;
|
Widget widget;
|
||||||
unsigned int state; /* radio button state */
|
int pos;
|
||||||
int pos, sel;
|
int sel;
|
||||||
int count; /* number of members */
|
int count; /* number of members */
|
||||||
hotkey_t *texts; /* texts of labels */
|
hotkey_t *texts; /* texts of labels */
|
||||||
} WRadio;
|
} WRadio;
|
||||||
|
Loading…
Reference in New Issue
Block a user