Browse Source

Merge pull request #1 from MathRPG/master

Update README.md
Alexey Kutepov 2 years ago
parent
commit
4f3e3b319c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -17,7 +17,7 @@ uint32_t *decode_utf8(const char *message);
 
 int main(void)
 {
-    if (glob(decode_utf8("*.c"), decode_utf8("main.c"))) {
+    if (glob(decode_utf8("*.c"), decode_utf8("main.c")) == GLOB_MATCHED) {
         printf("OK\n");
     } else {
         printf("FAIL\n");