Revision: 6585
http://skim-app.svn.sourceforge.net/skim-app/?rev=6585&view=rev
Author: hofman
Date: 2010-06-10 10:16:54 +0000 (Thu, 10 Jun 2010)
Log Message:
-----------
fix check
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2010-06-10 10:13:19 UTC (rev 6584)
+++ trunk/SKPDFView.m 2010-06-10 10:16:54 UTC (rev 6585)
@@ -1216,7 +1216,7 @@
[menu removeItemAtIndex:copyIdx];
if ([menu numberOfItems] > copyIdx && [[menu itemAtIndex:copyIdx]
isSeparatorItem] && (copyIdx == 0 || [[menu itemAtIndex:copyIdx - 1]
isSeparatorItem]))
[menu removeItemAtIndex:copyIdx];
- if (copyIdx > 0 && copyIdx == [menu numberOfItems] - 1 && [[menu
itemAtIndex:copyIdx - 1] isSeparatorItem])
+ if (copyIdx > 0 && copyIdx == [menu numberOfItems] && [[menu
itemAtIndex:copyIdx - 1] isSeparatorItem])
[menu removeItemAtIndex:copyIdx - 1];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit