Skip to content

Commit

Permalink
BugFix in Text Extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianluca committed Nov 11, 2011
1 parent 48c63f2 commit ddff24d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
26 changes: 11 additions & 15 deletions Classes/Reader/ReaderViewController.m
Expand Up @@ -1017,20 +1017,8 @@ -(void)presentTextDisplayViewControllerForPage:(NSUInteger)page {

-(void) documentViewController:(MFDocumentViewController *)dvc didReceiveTapOnPage:(NSUInteger)page atPoint:(CGPoint)point {


if ((UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)) {
[self dismissAlternateViewController];
}

if(waitingForTextInput) {

waitingForTextInput = NO;

// Get the text display controller lazily, set up the delegate that will provide the document (this instance)
// and show it.

[self presentTextDisplayViewControllerForPage:page];
}
//unused

}

-(void)documentViewController:(MFDocumentViewController *)dvc willFollowLinkToPage:(NSUInteger)page {
Expand Down Expand Up @@ -1082,7 +1070,15 @@ -(void) documentViewController:(MFDocumentViewController *)dvc didReceiveTapAtPo
hudHidden = YES;
}
}
}
}else{

waitingForTextInput = NO;

// Get the text display controller lazily, set up the delegate that will provide the document (this instance)
// and show it.

[self presentTextDisplayViewControllerForPage:[[self document]numberOfPages]];
}
}

#pragma mark -
Expand Down
2 changes: 1 addition & 1 deletion Classes/ThirdParties/ASIHTTP/ASIHTTPRequest.m
Expand Up @@ -3800,7 +3800,7 @@ + (void)throttleBandwidthForWWANUsingLimit:(unsigned long)limit

+ (void)registerForNetworkReachabilityNotifications {

[[Reachability reachabilityForInternetConnection] startNotifier];
[[Reachability reachabilityForInternetConnection] startNotifer];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reachabilityChanged:) name:@"kNetworkReachabilityChangedNotification" object:nil];
}

Expand Down
Binary file modified FPKCore/libFastPdfKit.a
Binary file not shown.

0 comments on commit ddff24d

Please sign in to comment.