Revision: 12598
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12598&view=rev
Author: amaxwell
Date: 2008-01-20 11:10:32 -0800 (Sun, 20 Jan 2008)
Log Message:
-----------
change to OBPOSTCONDITION since this won't crash anymore
Modified Paths:
--------------
trunk/bibdesk/BDSKFileSearch.m
Modified: trunk/bibdesk/BDSKFileSearch.m
===================================================================
--- trunk/bibdesk/BDSKFileSearch.m 2008-01-20 18:22:13 UTC (rev 12597)
+++ trunk/bibdesk/BDSKFileSearch.m 2008-01-20 19:10:32 UTC (rev 12598)
@@ -170,7 +170,7 @@
- (void)updateSearchResults;
{
SKIndexRef skIndex = [searchIndex index];
- NSAssert(NULL != skIndex, @"-[BDSKFileSearchIndex index] returned NULL");
+ OBPOSTCONDITION(NULL != skIndex);
if (NULL == skIndex || SKIndexFlush(skIndex) == FALSE) {
NSLog(@"failed to flush index %@", searchIndex);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit