Improved tests related to keysyms
[platform/upstream/libxkbcommon.git] / bench / compose.c
index 6951bd5..4198e32 100644 (file)
@@ -45,8 +45,8 @@ main(void)
     ctx = test_get_context(CONTEXT_NO_FLAG);
     assert(ctx);
 
-    path = test_get_path("compose/en_US.UTF-8/Compose");
-    file = fopen(path, "r");
+    path = test_get_path("locale/en_US.UTF-8/Compose");
+    file = fopen(path, "rb");
     if (file == NULL) {
         perror(path);
         free(path);