diff options
author | Martin Szulecki | 2012-07-17 17:23:28 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-17 17:23:28 +0200 |
commit | 0a9fc08109d0c4fb58a3de6d855b38c5d0833289 (patch) | |
tree | aadac1d42f9d61667db7da3e0692dbab07c54e3b | |
parent | 1288055d4935b8f11d9625d792fbe8da4b3de55e (diff) | |
download | idevicerestore-0a9fc08109d0c4fb58a3de6d855b38c5d0833289.tar.gz idevicerestore-0a9fc08109d0c4fb58a3de6d855b38c5d0833289.tar.bz2 |
common: Disable progress bar on WIN32 as it slows down the process a lot
-rw-r--r-- | src/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c index ead60b4..e20bd78 100644 --- a/src/common.c +++ b/src/common.c @@ -97,6 +97,7 @@ void debug_plist(plist_t plist) { } void print_progress_bar(double progress) { +#ifndef WIN32 int i = 0; if(progress < 0) return; if(progress > 100) progress = 100; @@ -108,6 +109,7 @@ void print_progress_bar(double progress) { info("] %5.1f%%", progress); if(progress == 100) info("\n"); fflush(stdout); +#endif } #define GET_RAND(min, max) ((rand() % (max - min)) + min) |