summaryrefslogtreecommitdiffstats
path: root/src/cindent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cindent.c')
-rw-r--r--src/cindent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cindent.c b/src/cindent.c
index dc9c20320f..ec88036eb1 100644
--- a/src/cindent.c
+++ b/src/cindent.c
@@ -2181,8 +2181,8 @@ get_c_indent(void)
check_linecomment(ml_get(curwin->w_cursor.lnum - 1));
if (linecomment_pos.col != MAXCOL)
{
- trypos = &linecomment_pos;
- trypos->lnum = curwin->w_cursor.lnum - 1;
+ trypos = &linecomment_pos;
+ trypos->lnum = curwin->w_cursor.lnum - 1;
}
}
if (trypos != NULL)