summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2020-07-25 16:34:11 +0300
committerRan Benita <ran@unusedvar.com>2020-07-25 16:34:52 +0300
commit2fefe558ab168b62447747195afa9a8da201a5c6 (patch)
treeef191f8a01c5dbf0fb3bfe553e0a526442c88c71 /tools
parent00530bea6b208280fcf98982e54535c7f9b49009 (diff)
downloadxorg-lib-libxkbcommon-2fefe558ab168b62447747195afa9a8da201a5c6.tar.gz
tools: fix strcmp mistake in 0066e38
Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/compile-keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/compile-keymap.c b/tools/compile-keymap.c
index 6308449..addbb2a 100644
--- a/tools/compile-keymap.c
+++ b/tools/compile-keymap.c
@@ -351,7 +351,7 @@ main(int argc, char **argv)
for (size_t i = 0; i < num_includes; i++) {
const char *include = includes[i];
- if (strcmp(include, DEFAULT_INCLUDE_PATH_PLACEHOLDER))
+ if (strcmp(include, DEFAULT_INCLUDE_PATH_PLACEHOLDER) == 0)
xkb_context_include_path_append_default(ctx);
else
xkb_context_include_path_append(ctx, include);