summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5c054b1)
raw | patch | inline | side by side (parent: 5c054b1)
author | Jonas Fonseca <jonas.fonseca@savoirfairelinux.com> | |
Mon, 14 Dec 2009 22:06:19 +0000 (17:06 -0500) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Tue, 15 Dec 2009 01:46:51 +0000 (20:46 -0500) |
tig.c | patch | blob | history |
index fc7e8c35e9644b2ccc765564d7211cf15c93c67b..d9f26dd0f850c345093bc02a386e25421734221d 100644 (file)
--- a/tig.c
+++ b/tig.c
}
#define enum_equals(entry, str, len) \
- ((entry).namelen == (len) && string_enum_compare((entry).name, str, len))
+ ((entry).namelen == (len) && !string_enum_compare((entry).name, str, len))
struct enum_map {
const char *name;