Merge branch '2094_cursor_beyond_eol_fix'

* 2094_cursor_beyond_eol_fix:
  Ticket #2094 (after option "Cursor beyond end of line" switch off cursor still beyond end of line)
This commit is contained in:
Ilia Maslakov 2010-03-16 14:07:49 +03:00
commit f12bdf1951

View File

@ -33,6 +33,7 @@
#include "lib/global.h"
#include "edit-widget.h"
#include "edit-impl.h"
#include "src/dialog.h" /* B_CANCEL */
#include "src/wtools.h" /* QuickDialog */
@ -137,6 +138,9 @@ edit_options_dialog (void)
old_syntax_hl = option_syntax_highlighting;
if (!option_cursor_beyond_eol)
wedit->over_col = 0;
if (p) {
option_word_wrap_line_length = atoi (p);
g_free (p);