patch 8.2.4928: various white space and cosmetic mistakes
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
diff --git a/src/session.c b/src/session.c
index 795438c..bc25998 100644
--- a/src/session.c
+++ b/src/session.c
@@ -972,13 +972,13 @@
// Restore 'shortmess'.
if (ssop_flags & SSOP_OPTIONS)
{
- if (fprintf(fd, "set shortmess=%s", p_shm) < 0 || put_eol(fd) == FAIL)
- goto fail;
+ if (fprintf(fd, "set shortmess=%s", p_shm) < 0 || put_eol(fd) == FAIL)
+ goto fail;
}
else
{
- if (put_line(fd, "let &shortmess = s:shortmess_save") == FAIL)
- goto fail;
+ if (put_line(fd, "let &shortmess = s:shortmess_save") == FAIL)
+ goto fail;
}
if (restore_height_width)