Small snake game in C
Commit fdb0d76ba5f4
tarball1 file changed+7-1
@@ -46,12 +46,18 @@ int main(int argc, char *args[]) {
4646
4747
if (4848
!make_folder(file_path, ".local", true) ||49
+ ) {50
+ printf("Couldn't create folder\n");51
+ return 1;52
+ }53
+ 54
+ if (4955
!make_folder(file_path, "share", true)5056
) {5157
printf("Couldn't create folder\n");5258
return 1;5359
}54
- 60
+5561
make_folder(file_path, SETTING_FILE , false);5662
5763
} else {