cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject cordova-plugin-camera git commit: CB-9247 - typo
Date Thu, 25 Jun 2015 13:22:26 GMT
Repository: cordova-plugin-camera
Updated Branches:
  refs/heads/master 63110ea54 -> 1e607ddcc


CB-9247 - typo


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/1e607ddc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/1e607ddc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/1e607ddc

Branch: refs/heads/master
Commit: 1e607ddcc856fd69208d1fb7e6202ab241adfa80
Parents: 63110ea
Author: Shazron Abdullah <shazron@gmail.com>
Authored: Thu Jun 25 06:22:24 2015 -0700
Committer: Shazron Abdullah <shazron@gmail.com>
Committed: Thu Jun 25 06:22:24 2015 -0700

----------------------------------------------------------------------
 src/ios/CDVCamera.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/1e607ddc/src/ios/CDVCamera.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVCamera.m b/src/ios/CDVCamera.m
index aba400c..d03cfd8 100644
--- a/src/ios/CDVCamera.m
+++ b/src/ios/CDVCamera.m
@@ -46,7 +46,7 @@ static NSString* toBase64(NSData* data) {
     if ([data respondsToSelector:s1]) {
         NSString* (*func)(id, SEL) = (void *)[data methodForSelector:s1];
         return func(data, s1);
-    } else if ([data respondsToSelector:s1]) {
+    } else if ([data respondsToSelector:s2]) {
         NSString* (*func)(id, SEL) = (void *)[data methodForSelector:s2];
         return func(data, s2);
     } else if ([data respondsToSelector:s3]) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message