|
@@ -14,6 +14,9 @@ void ui_progress__update(u64 curr, u64 total, const char *title)
|
|
|
if (use_browser <= 0)
|
|
if (use_browser <= 0)
|
|
|
return;
|
|
return;
|
|
|
|
|
|
|
|
|
|
+ if (total == 0)
|
|
|
|
|
+ return;
|
|
|
|
|
+
|
|
|
ui__refresh_dimensions(true);
|
|
ui__refresh_dimensions(true);
|
|
|
pthread_mutex_lock(&ui__lock);
|
|
pthread_mutex_lock(&ui__lock);
|
|
|
y = SLtt_Screen_Rows / 2 - 2;
|
|
y = SLtt_Screen_Rows / 2 - 2;
|