summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 79ff33169..5fd1a4ae8 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -722,14 +722,14 @@
fScanHorizontalLine.hidden = YES;
fScanIndicator.doubleValue = [formatter stateToPercentComplete:hb_state];
}
- completionHandler:^(BOOL success)
+ completionHandler:^(HBCoreResult result)
{
fScanHorizontalLine.hidden = NO;
fScanIndicator.hidden = YES;
fScanIndicator.indeterminate = NO;
fScanIndicator.doubleValue = 0.0;
- if (success)
+ if (result == HBCoreResultDone)
{
[self showNewScan];
}