Skip to content

fix error "E254: Cannot allocate color none"#2

Open
jefersonbelmiro wants to merge 2 commits into
jtai:masterfrom
jefersonbelmiro:fix_color_none
Open

fix error "E254: Cannot allocate color none"#2
jefersonbelmiro wants to merge 2 commits into
jtai:masterfrom
jefersonbelmiro:fix_color_none

Conversation

@jefersonbelmiro

@jefersonbelmiro jefersonbelmiro commented Jan 2, 2017

Copy link
Copy Markdown
--- src/syntax.c.orig   2016-06-16 11:43:49.310477225 +0200
+++ src/syntax.c        2016-06-16 11:43:49.310477225 +0200
@@ -8475,7 +8475,7 @@
     static guicolor_T
 color_name2handle(char_u *name)
 {
-    if (STRCMP(name, "NONE") == 0)
+    if (STRICMP(name, "NONE") == 0)
        return INVALCOLOR;
 
     if (STRICMP(name, "fg") == 0 || STRICMP(name, "foreground") == 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant