aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-05-07 15:25:00 -0400
committerB. Watson <yalhcru@gmail.com>2020-05-07 15:25:00 -0400
commit958e0c26b4d57d26c0a52a3994cecd7e50b006db (patch)
treeb123508ffffdaa2d51790bd636a04074ae382734
parent48bbde11e4aa482392f63d413f7f9edd1acdef58 (diff)
downloadmiragextract-958e0c26b4d57d26c0a52a3994cecd7e50b006db.tar.gz
speed up progress spinner
-rw-r--r--miragextract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miragextract.c b/miragextract.c
index 766d9c5..25259da 100644
--- a/miragextract.c
+++ b/miragextract.c
@@ -149,7 +149,7 @@ void extract_track(int t, int extract) {
} else {
fwrite(buf, len, 1, out);
}
- if(isatty(1) && !(sec % 100)) print_progress();
+ if(isatty(1) && !(sec % 50)) print_progress();
}
g_object_unref(sector);
}