Revision: 3878
http://skim-app.svn.sourceforge.net/skim-app/?rev=3878&view=rev
Author: hofman
Date: 2008-05-14 10:37:29 -0700 (Wed, 14 May 2008)
Log Message:
-----------
Group OR and AND conditions properly.
Modified Paths:
--------------
trunk/SKNoteWindowController.m
Modified: trunk/SKNoteWindowController.m
===================================================================
--- trunk/SKNoteWindowController.m 2008-05-14 17:03:03 UTC (rev 3877)
+++ trunk/SKNoteWindowController.m 2008-05-14 17:37:29 UTC (rev 3878)
@@ -296,7 +296,7 @@
if (NO == [keyPath hasPrefix:@"values."])
return;
NSString *key = [keyPath substringFromIndex:7];
- if ([key isEqualToString:SKAnchoredNoteFontNameKey] || [key
isEqualToString:SKAnchoredNoteFontSizeKey] && [self isNoteType] && [[textView
string] length] == 0) {
+ if (([key isEqualToString:SKAnchoredNoteFontNameKey] || [key
isEqualToString:SKAnchoredNoteFontSizeKey]) && [self isNoteType] && [[textView
string] length] == 0) {
NSFont *font = [NSFont fontWithName:[[NSUserDefaults
standardUserDefaults] stringForKey:SKAnchoredNoteFontNameKey]
size:[[NSUserDefaults
standardUserDefaults] floatForKey:SKAnchoredNoteFontSizeKey]];
if (font)
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/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit