Permalink
Browse files

Fix test, was using wrong variable

As seen in http://github.com/rentzsch/clicktoflash/commit/0ba78fdd99c914dd54f7734d72adf1ead5dac9ff#comments

Signed-off: Pedro Melo <melo@simplicidade.org>

Signed-off-by: Jonathan 'Wolf' Rentzsch <jwr.git@redshed.net>
  • Loading branch information...
1 parent 0ba78fd commit 423346ba714da28faefba8b15e2c8c44fe9de370 @melo melo committed with Jan 28, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 Plugin/Plugin.m
View
@@ -69,7 +69,7 @@ - (id) initWithArguments:(NSDictionary *)arguments
}
NSDictionary *attributes = [arguments objectForKey:WebPlugInAttributesKey];
- if (arguments) {
+ if (attributes != nil) {
NSString *src = [attributes objectForKey:@"src"];
if (src)
[self setToolTip:src];

0 comments on commit 423346b

Please sign in to comment.