Ticket #2196: editor hangup if editor_tab_spacing is equalt to 0.
commit0485ae50260d1749df786eba4e0a8bd809bc8712
authorAndrew Borodin <aborodin@vmail.ru>
Sat, 12 Jun 2010 12:26:27 +0000 (12 16:26 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Mon, 14 Jun 2010 09:53:02 +0000 (14 13:53 +0400)
treea166074d05cef61c7ca95aebbb4beaf5f131e0a7
parentd146ab8661b12095101b7891664a222bc4b3ee0b
Ticket #2196: editor hangup if editor_tab_spacing is equalt to 0.

Check and correct value of option_tab_spacing during options loading.
Check and correct value of option_word_wrap_line_length during options loading
and after editor options changing.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/editor/edit.c
src/editor/edit.h
src/editor/editoptions.c
src/main.c
src/main.h
src/setup.c