Skip to content

Commit

Permalink
Suppress recording pasteboard updates when marked with PasswordPboard…
Browse files Browse the repository at this point in the history
…Type.
  • Loading branch information
rentzsch committed Oct 4, 2011
1 parent e824d4a commit b747cb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/AppController.m
Expand Up @@ -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]])
Expand Down

0 comments on commit b747cb9

Please sign in to comment.