comparison src/move.c @ 25852:336e2d9924e6 v8.2.3460

patch 8.2.3460: some type casts are not needed Commit: https://github.com/vim/vim/commit/dfa5e464d459f84200a73d178f1ecefe75bbe511 Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> Date: Sat Oct 2 11:26:51 2021 +0100 patch 8.2.3460: some type casts are not needed Problem: Some type casts are not needed. Solution: Remove unnecessary type casts. (closes https://github.com/vim/vim/issues/8934)
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Oct 2021 12:30:05 +0200
parents d3f992bc6ef8
children a63676a1da2b
comparison
equal deleted inserted replaced
25851:6dd46a7fa3cd 25852:336e2d9924e6
1026 // When cursor wraps to first char of next line in Insert 1026 // When cursor wraps to first char of next line in Insert
1027 // mode, the 'showbreak' string isn't shown, backup to first 1027 // mode, the 'showbreak' string isn't shown, backup to first
1028 // column 1028 // column
1029 sbr = get_showbreak_value(curwin); 1029 sbr = get_showbreak_value(curwin);
1030 if (*sbr && *ml_get_cursor() == NUL 1030 if (*sbr && *ml_get_cursor() == NUL
1031 && curwin->w_wcol == (int)vim_strsize(sbr)) 1031 && curwin->w_wcol == vim_strsize(sbr))
1032 curwin->w_wcol = 0; 1032 curwin->w_wcol = 0;
1033 #endif 1033 #endif
1034 } 1034 }
1035 } 1035 }
1036 1036