comparison src/move.c @ 10607:e39300d3d2cf v8.0.0193

patch 8.0.0193: accidentally removed #ifdef commit https://github.com/vim/vim/commit/1b9750d8054ce4a5a6f84af9f10654330bbf869b Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 15 20:51:37 2017 +0100 patch 8.0.0193: accidentally removed #ifdef Problem: Accidentally removed #ifdef. Solution: Put it back. (Masanori Misono)
author Christian Brabandt <cb@256bit.org>
date Sun, 15 Jan 2017 21:00:04 +0100
parents 472bff31a20a
children 778c10516955
comparison
equal deleted inserted replaced
10606:20ce0e6ee3c2 10607:e39300d3d2cf
2839 /* Make sure the cursor is in a valid position. Temporarily set 2839 /* Make sure the cursor is in a valid position. Temporarily set
2840 * "restart_edit" to allow the cursor to be beyond the EOL. */ 2840 * "restart_edit" to allow the cursor to be beyond the EOL. */
2841 restart_edit_save = restart_edit; 2841 restart_edit_save = restart_edit;
2842 restart_edit = TRUE; 2842 restart_edit = TRUE;
2843 check_cursor(); 2843 check_cursor();
2844 # ifdef FEAT_SYN_HL
2844 if (curwin->w_p_cul || curwin->w_p_cuc) 2845 if (curwin->w_p_cul || curwin->w_p_cuc)
2845 validate_cursor(); 2846 validate_cursor();
2847 # endif
2846 restart_edit = restart_edit_save; 2848 restart_edit = restart_edit_save;
2847 # ifdef FEAT_MBYTE 2849 # ifdef FEAT_MBYTE
2848 /* Correct cursor for multi-byte character. */ 2850 /* Correct cursor for multi-byte character. */
2849 if (has_mbyte) 2851 if (has_mbyte)
2850 mb_adjust_cursor(); 2852 mb_adjust_cursor();