patch 8.2.4610: some conditions are always true
Problem: Some conditions are always true.
Solution: Remove the useless conditions. (closes #9993)
diff --git a/src/misc2.c b/src/misc2.c
index 38da7e5..c23c689 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -596,7 +596,7 @@
// Make sure that coladd is not more than the char width.
// Not for the last character, coladd is then used when the cursor
// is actually after the last character.
- if (win->w_cursor.col + 1 < len && win->w_cursor.coladd > 0)
+ if (win->w_cursor.col + 1 < len)
{
int cs, ce;