changeset 11856:1c0c6918926f v8.0.0808

patch 8.0.0808: cannot build with terminal feature and DEBUG defined commit https://github.com/vim/vim/commit/d507a685ad9cd270e5afc3bd4aa6a80ddb0d8802 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 29 22:41:18 2017 +0200 patch 8.0.0808: cannot build with terminal feature and DEBUG defined Problem: Cannot build with terminal feature and DEBUG defined. (Christian Brabandt) Solution: Use DEBUG_LOG3().
author Christian Brabandt <cb@256bit.org>
date Sat, 29 Jul 2017 22:45:04 +0200
parents ca40608849fb
children 15d17c3f7d18
files src/libvterm/src/pen.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/libvterm/src/pen.c
+++ b/src/libvterm/src/pen.c
@@ -106,7 +106,7 @@ static void setpenattr(VTermState *state
 {
 #ifdef DEBUG
   if(type != vterm_get_attr_type(attr)) {
-    DEBUG_LOG("Cannot set attr %d as it has type %d, not type %d\n",
+    DEBUG_LOG3("Cannot set attr %d as it has type %d, not type %d\n",
         attr, vterm_get_attr_type(attr), type);
     return;
   }
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    808,
+/**/
     807,
 /**/
     806,