瀏覽代碼

Update for new libmegapixels_find_config signature

Martijn Braam 5 月之前
父節點
當前提交
a84e2c797c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main.c

+ 1 - 1
src/main.c

@@ -1448,7 +1448,7 @@ main(int argc, char *argv[])
 #endif
         char configfile[PATH_MAX];
         libmegapixels_init(&state.configuration);
-        if (libmegapixels_find_config(configfile)) {
+        if (libmegapixels_find_config(PATH_MAX, configfile)) {
                 if (!libmegapixels_load_file(state.configuration, configfile)) {
                         fprintf(stderr, "Could not load config\n");
                         return 1;