mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-23 11:42:09 +03:00
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:
commit
f12bdf1951
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user