diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2022-10-13 20:33:12 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2022-10-13 20:33:12 +0200 |
commit | 8f9b0958e8a2d976a274f7c12ee05a4863fce3ad (patch) | |
tree | 42be7f48acd22a0d513e60cd67937ced3710b208 /src | |
parent | 9a9234dc46a0584f5f8ffd043ca5765f1e97f81e (diff) | |
download | OFQT-8f9b0958e8a2d976a274f7c12ee05a4863fce3ad.tar.gz OFQT-8f9b0958e8a2d976a274f7c12ee05a4863fce3ad.zip |
correct makeDir check, optimize images
Diffstat (limited to 'src')
-rw-r--r-- | src/cli/updater.c | 3 | ||||
-rw-r--r-- | src/qt/assets/discord.png | bin | 2412 -> 2155 bytes | |||
-rw-r--r-- | src/qt/assets/gear-solid.png | bin | 2550 -> 2194 bytes | |||
-rw-r--r-- | src/qt/assets/globe.png | bin | 2849 -> 2637 bytes | |||
-rw-r--r-- | src/qt/assets/logo.png | bin | 21482 -> 15634 bytes |
5 files changed, 1 insertions, 2 deletions
diff --git a/src/cli/updater.c b/src/cli/updater.c index f6120c7..bdccaca 100644 --- a/src/cli/updater.c +++ b/src/cli/updater.c @@ -78,7 +78,6 @@ void update_setup(char* of_dir, char* remote, int local_rev, int remote_rev) } pool_complete(pool); - fprintf(stderr, "\rChecking %zu/%zu", rev->file_count, rev->file_count); pool_free(pool); free(thread_info); @@ -108,7 +107,7 @@ void update_setup(char* of_dir, char* remote, int local_rev, int remote_rev) char* buf = malloc(len); fprintf(stderr, "\rCreating %zu/%zu", i+1, rev->file_count); snprintf(buf, len, "%s%s%s", of_dir, OS_PATH_SEP, file->path); - if (!isDir(buf) && !makeDir(buf)) + if (!isDir(buf) && makeDir(buf)) { fprintf(stderr, "\nFailed to create %s\n", file->path); } diff --git a/src/qt/assets/discord.png b/src/qt/assets/discord.png Binary files differindex cc52539..3baf27b 100644 --- a/src/qt/assets/discord.png +++ b/src/qt/assets/discord.png diff --git a/src/qt/assets/gear-solid.png b/src/qt/assets/gear-solid.png Binary files differindex 8540b00..ba2ade6 100644 --- a/src/qt/assets/gear-solid.png +++ b/src/qt/assets/gear-solid.png diff --git a/src/qt/assets/globe.png b/src/qt/assets/globe.png Binary files differindex 98374e3..e30a3dd 100644 --- a/src/qt/assets/globe.png +++ b/src/qt/assets/globe.png diff --git a/src/qt/assets/logo.png b/src/qt/assets/logo.png Binary files differindex ad04eca..0364be1 100644 --- a/src/qt/assets/logo.png +++ b/src/qt/assets/logo.png |