]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ftepp.c
Cleanup cargocult directory and file specific things, to fs.c (renamed file.c which...
[xonotic/gmqcc.git] / ftepp.c
diff --git a/ftepp.c b/ftepp.c
index 27e3afe2ed17d4c72b94b697a48303724800d047..4734639244ab1f426706dcb8dcc61b0b93ed81f5 100644 (file)
--- a/ftepp.c
+++ b/ftepp.c
@@ -1250,9 +1250,9 @@ static char *ftepp_include_find_path(const char *file, const char *pathfile)
     memcpy(vec_add(filename, len+1), file, len);
     vec_last(filename) = 0;
 
-    fp = file_open(filename, "rb");
+    fp = fs_file_open(filename, "rb");
     if (fp) {
-        file_close(fp);
+        fs_file_close(fp);
         return filename;
     }
     vec_free(filename);