mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
* editoptions.c (edit_options_dialog): Don't allow
option_tab_spacing to be 0. Reset invalid values to 8. Reported by Ury N. Stankevich <ury@bofh.homeunix.org>
This commit is contained in:
parent
f0aab2028b
commit
2b5fec4594
@ -1,3 +1,9 @@
|
|||||||
|
2002-10-17 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* editoptions.c (edit_options_dialog): Don't allow
|
||||||
|
option_tab_spacing to be 0. Reset invalid values to 8.
|
||||||
|
Reported by Ury N. Stankevich <ury@bofh.homeunix.org>
|
||||||
|
|
||||||
2002-10-08 Pavel Roskin <proski@gnu.org>
|
2002-10-08 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* wordproc.c (format_paragraph): If formatting was successful,
|
* wordproc.c (format_paragraph): If formatting was successful,
|
||||||
|
@ -163,8 +163,8 @@ void edit_options_dialog (void)
|
|||||||
}
|
}
|
||||||
if (q) {
|
if (q) {
|
||||||
option_tab_spacing = atoi (q);
|
option_tab_spacing = atoi (q);
|
||||||
if (option_tab_spacing < 0)
|
if (option_tab_spacing <= 0)
|
||||||
option_tab_spacing = 2;
|
option_tab_spacing = 8;
|
||||||
free (q);
|
free (q);
|
||||||
}
|
}
|
||||||
option_syntax_highlighting = *quick_widgets[5 + OA].result;
|
option_syntax_highlighting = *quick_widgets[5 + OA].result;
|
||||||
|
Loading…
Reference in New Issue
Block a user