diff options
Diffstat (limited to 'src/cindent.c')
-rw-r--r-- | src/cindent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cindent.c b/src/cindent.c index dc9c20320..ec88036eb 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) |