]> granicus.if.org Git - vim/commitdiff
updated for version 7.2a-018 v7.2a.018
authorBram Moolenaar <Bram@vim.org>
Tue, 8 Jul 2008 10:46:08 +0000 (10:46 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 8 Jul 2008 10:46:08 +0000 (10:46 +0000)
src/gui_gtk_x11.c
src/version.c

index 741b733d747d932838b525fa4f426a81f041ef1a..dc95d818ad5ea24e0946680a807e0835d2606a7b 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include "vim.h"
+
 #ifdef FEAT_GUI_GNOME
 /* Gnome redefines _() and N_().  Grrr... */
 # ifdef _
@@ -1592,7 +1593,7 @@ gui_mch_init_check(void)
     if (!gtk_init_check(&gui_argc, &gui_argv))
     {
        gui.dying = TRUE;
-       EMSG(_(e_opendisp));
+       EMSG(_((char *)e_opendisp));
        return FAIL;
     }
 
@@ -2345,9 +2346,9 @@ sm_client_die(GnomeClient *client, gpointer data)
     /* Don't write messages to the GUI anymore */
     full_screen = FALSE;
 
-    vim_strncpy(IObuff,
+    vim_strncpy(IObuff, (char_u *)
                    _("Vim: Received \"die\" request from session manager\n"),
-           IOSIZE - 1);
+                   IOSIZE - 1);
     preserve_exit();
 }
 
@@ -5244,7 +5245,7 @@ gui_mch_get_font(char_u *name, int report_error)
     if (font == NULL)
     {
        if (report_error)
-           EMSG2(_(e_font), name);
+           EMSG2(_((char *)e_font), name);
        return NULL;
     }
 
index 11abe51aae8ec694bd1c098c6601f34b4f50e949..ec51a6ccecc73dc2dfc4bac70979a3f97a8820f7 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    18,
 /**/
     17,
 /**/