1
0
forked from aniani/vim

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().
This commit is contained in:
Bram Moolenaar
2017-07-29 22:41:18 +02:00
parent 6e1ef28057
commit d507a685ad
2 changed files with 3 additions and 1 deletions

View File

@@ -106,7 +106,7 @@ static void setpenattr(VTermState *state, VTermAttr attr, VTermValueType type UN
{ {
#ifdef DEBUG #ifdef DEBUG
if(type != vterm_get_attr_type(attr)) { 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); attr, vterm_get_attr_type(attr), type);
return; return;
} }

View File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
808,
/**/ /**/
807, 807,
/**/ /**/