1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Bug 824: TERMOPT_WIDGETS_COUNT was off by one.

Commit f19c948ca7 on 2008-01-19
introduced this sub-bug.
This commit is contained in:
Kalle Olavi Niemitalo 2008-01-25 00:06:15 +02:00 committed by Kalle Olavi Niemitalo
parent 40f319ce22
commit 228595ff29

View File

@ -155,7 +155,7 @@ push_save_button(struct dialog_data *dlg_data, struct widget_data *button)
#define RADIO_TRUE 0
#endif
#define TERMOPT_WIDGETS_COUNT (12 + TERM_OPTIONS + RADIO_88 + RADIO_256 + RADIO_TRUE)
#define TERMOPT_WIDGETS_COUNT (11 + TERM_OPTIONS + RADIO_88 + RADIO_256 + RADIO_TRUE)
#define TERM_OPTION_VALUE_SIZE (sizeof(union option_value) * TERM_OPTIONS)