]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.364 v7.3.364
authorBram Moolenaar <Bram@vim.org>
Thu, 1 Dec 2011 19:59:21 +0000 (20:59 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 1 Dec 2011 19:59:21 +0000 (20:59 +0100)
Problem:    Can't compile on HP-UX. (John Marriott)
Solution:   Only use TTYM_URXVT when it is defined.

src/term.c
src/version.c

index 6e3400bd1ff4c4e0f0d35d96507775c8d7e4f3c9..f40d39a0633de9dbda64038a2763ed2965724233 100644 (file)
@@ -4060,7 +4060,11 @@ check_termcode(max_offset, buf, buflen)
                    if (tp[1 + (tp[0] != CSI)] == '>' && j == 2)
                    {
                        /* if xterm version >= 95 use mouse dragging */
-                       if (extra >= 95 && ttym_flags != TTYM_URXVT)
+                       if (extra >= 95
+# ifdef TTYM_URXVT
+                               && ttym_flags != TTYM_URXVT
+# endif
+                               )
                            set_option_value((char_u *)"ttym", 0L,
                                                       (char_u *)"xterm2", 0);
                        /* if xterm version >= 141 try to get termcap codes */
index 4719ffc5ab4eb4f659063614705441a972c11bd4..6e30bf959ff2b32a4dad22a14651d7df67e6b93f 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    364,
 /**/
     363,
 /**/