Skip to content
Browse files

fix crash when making cross reference from static markdown document

  • Loading branch information...
1 parent ef60534 commit a67dae39fb0232f4a6d61e8da790edcb6a2a7b51 @jonklein jonklein committed Mar 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Processing/GBCommentsProcessor.m
View
2 Processing/GBCommentsProcessor.m
@@ -716,7 +716,7 @@ - (BOOL)isCrossReference:(GBCrossRefData *)data matchingObject:(id)object {
else if ([object isKindOfClass:[GBProtocolData class]])
if ([data->description isEqualToString:[object nameOfProtocol]]) return YES;
} else {
- if ([data->description isEqualToString:[object methodSelector]]) return YES;
+ if (![object isKindOfClass:[GBDocumentData class]] && [data->description isEqualToString:[object methodSelector]]) return YES;
}
return NO;
}

0 comments on commit a67dae3

Please sign in to comment.
Something went wrong with that request. Please try again.