diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2021-01-12 17:38:30 +0100 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2021-01-12 17:38:30 +0100 |
commit | baca7635a3db27bae911ab6ebe928e5c2cc5a155 (patch) | |
tree | e9bde5656d208cd03f954a624aa564b195617220 /src/common.c | |
parent | dad8f3b9ecf5794f1b3c539878f91ee106d28448 (diff) | |
download | polecat-baca7635a3db27bae911ab6ebe928e5c2cc5a155.tar.gz polecat-baca7635a3db27bae911ab6ebe928e5c2cc5a155.zip |
replace float with int math, silence conversions, improve wine call […]
improve parser logic and math reuse
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c index 29aa3db..151e3a7 100644 --- a/src/common.c +++ b/src/common.c @@ -80,7 +80,8 @@ int makeDir(const char* path) return mkdir(path, 0755); } -int removeDir(const char *path) { +int removeDir(const char *path) +{ DIR *d = opendir(path); size_t path_len = strlen(path); int r = -1; |