patch 7.4.778
Problem: Coverity warns for uninitialized variable.
Solution: Change condition of assignment.
diff --git a/src/ops.c b/src/ops.c
index e4d2600..8752477 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -5702,10 +5702,10 @@
/* reset */
subtract = FALSE;
negative = FALSE;
- if (visual && VIsual_mode != Ctrl_V)
- col = 0;
- else
+ if (visual && VIsual_mode == Ctrl_V)
col = startcol;
+ else
+ col = 0;
Prenum1 += offset;
curwin->w_set_curswant = TRUE;
#ifdef FEAT_RIGHTLEFT
diff --git a/src/version.c b/src/version.c
index df00f5b..016b25c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 778,
+/**/
777,
/**/
776,