From b747cb9dc1a597f39a55b1d4c047ae62027cb425 Mon Sep 17 00:00:00 2001 From: rentzsch Date: Tue, 4 Oct 2011 16:28:42 -0500 Subject: [PATCH] Suppress recording pasteboard updates when marked with PasswordPboardType. --- project/AppController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/AppController.m b/project/AppController.m index 4e6fdae..11d034d 100644 --- a/project/AppController.m +++ b/project/AppController.m @@ -360,7 +360,7 @@ -(void)pollPB:(NSTimer *)timer pbCount = [[NSNumber numberWithInt:[jcPasteboard changeCount]] retain]; if ( type != nil ) { NSString *contents = [jcPasteboard stringForType:type]; - if ( contents == nil ) { + if ( contents == nil || [jcPasteboard stringForType:@"PasswordPboardType"] ) { // NSLog(@"Contents: Empty"); } else { if (( [clippingStore jcListCount] == 0 || ! [contents isEqualToString:[clippingStore clippingContentsAtPosition:0]])