diff options
author | Steven Schubiger <stsc@refcnt.org> | 2017-12-16 19:38:43 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2017-12-16 19:38:43 +0100 |
commit | c3d41c66eccb2d33efb03a2a7576f1121430ae89 (patch) | |
tree | a441311195cbb1343bdce4d0d1a28417333afe97 | |
parent | aa263791f3e5e06ffd46621fdf9132921f8911a5 (diff) | |
download | colorize-c3d41c66eccb2d33efb03a2a7576f1121430ae89.tar.gz colorize-c3d41c66eccb2d33efb03a2a7576f1121430ae89.tar.bz2 |
has_color_name(): return true from else branch
-rw-r--r-- | colorize.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1456,8 +1456,8 @@ has_color_name (const char *str, const char *name) else if (*(name + 1) != '\0' && !((p = strstr (str + 1, name + 1)) && p == str + 1)) return false; - - return true; + else + return true; } static FILE * |