projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue 412
[zxing.git]
/
iphone
/
Classes
/
ShowMapAction.m
diff --git
a/iphone/Classes/ShowMapAction.m
b/iphone/Classes/ShowMapAction.m
index
7ec13eb
..
f3817a2
100644
(file)
--- a/
iphone/Classes/ShowMapAction.m
+++ b/
iphone/Classes/ShowMapAction.m
@@
-32,14
+32,14
@@
static NSURL * URLForLocation(NSString *location) {
return [NSURL URLWithString:urlString];
}
return [NSURL URLWithString:urlString];
}
-- initWithLocation:(NSString *)l {
+-
(id)
initWithLocation:(NSString *)l {
if ((self = [super initWithURL:URLForLocation(l)]) != nil) {
self.location = l;
}
return self;
}
if ((self = [super initWithURL:URLForLocation(l)]) != nil) {
self.location = l;
}
return self;
}
-+ actionWithLocation:(NSString *)location {
++
(id)
actionWithLocation:(NSString *)location {
return [[[self alloc] initWithLocation:location] autorelease];
}
return [[[self alloc] initWithLocation:location] autorelease];
}