diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-09 20:09:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-09 20:09:23 +0100 |
commit | 6ed545e79735f23ff8e650bc2f0967e5a0baedc9 (patch) | |
tree | 1c77e4b188c34d68e91c5c93e62c668ce51ffc2f /src/os_unix.c | |
parent | 921bde88804663a7cb825d7f7e8a5d8ae6b58650 (diff) |
patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index a51f03499c..b786f8df07 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -1778,10 +1778,10 @@ ex_xrestore(exarg_T *eap) { if (eap->arg != NULL && STRLEN(eap->arg) > 0) { - if (xterm_display_allocated) - vim_free(xterm_display); - xterm_display = (char *)vim_strsave(eap->arg); - xterm_display_allocated = TRUE; + if (xterm_display_allocated) + vim_free(xterm_display); + xterm_display = (char *)vim_strsave(eap->arg); + xterm_display_allocated = TRUE; } smsg(_("restoring display %s"), xterm_display == NULL ? (char *)mch_getenv((char_u *)"DISPLAY") : xterm_display); @@ -7210,7 +7210,7 @@ load_libgpm(void) { if (p_verbose > 0) smsg_attr(HL_ATTR(HLF_W), - _("Could not load gpm library: %s"), dlerror()); + _("Could not load gpm library: %s"), dlerror()); return FAIL; } |