diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-05-08 17:48:29 +0100 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2012-05-08 17:48:29 +0100 |
commit | b537b5524a238645167f370c73afa8686442463f (patch) | |
tree | 94e432f755b945e5028de1d0e4ef46581230e7fa /test/filecomp.c | |
parent | 1928397a21ff3d0616b0c35fb286b2876d51e6ba (diff) | |
download | libxkbcommon-b537b5524a238645167f370c73afa8686442463f.tar.gz libxkbcommon-b537b5524a238645167f370c73afa8686442463f.tar.bz2 libxkbcommon-b537b5524a238645167f370c73afa8686442463f.zip |
Add flags to keymap compilation entrypoints
No use as yet, but might as well ...
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'test/filecomp.c')
-rw-r--r-- | test/filecomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/filecomp.c b/test/filecomp.c index 52f54ae..70dbdc2 100644 --- a/test/filecomp.c +++ b/test/filecomp.c @@ -51,7 +51,7 @@ test_file(const char *path) fprintf(stderr, "\nCompiling path: %s\n", path); - xkb = xkb_map_new_from_fd(context, fd, XKB_KEYMAP_FORMAT_TEXT_V1); + xkb = xkb_map_new_from_fd(context, fd, XKB_KEYMAP_FORMAT_TEXT_V1, 0); close(fd); if (!xkb) { @@ -86,7 +86,7 @@ test_string(const char *string) fprintf(stderr, "\nCompiling string\n"); - xkb = xkb_map_new_from_string(context, string, XKB_KEYMAP_FORMAT_TEXT_V1); + xkb = xkb_map_new_from_string(context, string, XKB_KEYMAP_FORMAT_TEXT_V1, 0); if (!xkb) { xkb_context_unref(context); return 0; |