mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +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>
|
||||
|
||||
* wordproc.c (format_paragraph): If formatting was successful,
|
||||
|
@ -163,8 +163,8 @@ void edit_options_dialog (void)
|
||||
}
|
||||
if (q) {
|
||||
option_tab_spacing = atoi (q);
|
||||
if (option_tab_spacing < 0)
|
||||
option_tab_spacing = 2;
|
||||
if (option_tab_spacing <= 0)
|
||||
option_tab_spacing = 8;
|
||||
free (q);
|
||||
}
|
||||
option_syntax_highlighting = *quick_widgets[5 + OA].result;
|
||||
|
Loading…
Reference in New Issue
Block a user