diff options
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; } |