diff src/os_unix.c @ 18761:e3785af3ba0f v8.1.2370

patch 8.1.2370: build problems on VMS Commit: https://github.com/vim/vim/commit/0c5c3faef2d54151a8c144539e3e5a3350fb18c7 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 30 22:38:16 2019 +0100 patch 8.1.2370: build problems on VMS Problem: Build problems on VMS. Solution: Adjust the build file. (Zoltan Arpadffy)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Nov 2019 22:45:04 +0100
parents 39b0c28fe495
children 44b855153d8e
line wrap: on
line diff
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -1671,7 +1671,7 @@ ex_xrestore(exarg_T *eap)
         xterm_display_allocated = TRUE;
     }
     smsg(_("restoring display %s"), xterm_display == NULL
-			      ? (char *)mch_getenv("DISPLAY") : xterm_display);
+		    ? (char *)mch_getenv((char_u *)"DISPLAY") : xterm_display);
 
     clear_xterm_clip();
     x11_window = 0;
@@ -6257,7 +6257,7 @@ select_eintr:
 		maxfd = ConnectionNumber(xterm_dpy);
 
 	    /* An event may have already been read but not handled.  In
-	     * particulary, XFlush may cause this. */
+	     * particularly, XFlush may cause this. */
 	    xterm_update();
 	}
 # endif