diff options
-rw-r--r-- | macosx/HBCore.m | 2 | ||||
-rw-r--r-- | macosx/HBStateFormatter+Private.m | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBCore.m b/macosx/HBCore.m index 305774d44..88b062bf3 100644 --- a/macosx/HBCore.m +++ b/macosx/HBCore.m @@ -563,7 +563,7 @@ static void hb_error_handler(const char *errmsg) HBProgress progress = {0, 0, 0, 0}; progress.percent = [self.stateFormatter stateToPercentComplete:state]; - if (state.state == HB_STATE_WORKING) + if (state.state == HB_STATE_WORKING || state.state == HB_STATE_PAUSED) { progress.hours = state.param.working.hours; progress.minutes = state.param.working.minutes; diff --git a/macosx/HBStateFormatter+Private.m b/macosx/HBStateFormatter+Private.m index 7c5f600ee..ffce1c068 100644 --- a/macosx/HBStateFormatter+Private.m +++ b/macosx/HBStateFormatter+Private.m @@ -125,6 +125,7 @@ switch (s.state) { case HB_STATE_WORKING: + case HB_STATE_PAUSED: #define p s.param.working progress = (p.progress + p.pass - 1) / p.pass_count; #undef p |