cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: Typo in style fixup.
Date Thu, 23 Oct 2014 20:09:33 GMT
Repository: cordova-ios
Updated Branches:
  refs/heads/master 1b85a6e67 -> 722397ae7


Typo in style fixup.


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/722397ae
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/722397ae
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/722397ae

Branch: refs/heads/master
Commit: 722397ae7b4a084fd54ac9e52517938ca82a9b0b
Parents: 1b85a6e
Author: Shazron Abdullah <shazron@apache.org>
Authored: Thu Oct 23 13:09:33 2014 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Thu Oct 23 13:09:33 2014 -0700

----------------------------------------------------------------------
 CordovaLib/Classes/CDVViewController.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/722397ae/CordovaLib/Classes/CDVViewController.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVViewController.m b/CordovaLib/Classes/CDVViewController.m
index 8cd59b3..c62ba87 100644
--- a/CordovaLib/Classes/CDVViewController.m
+++ b/CordovaLib/Classes/CDVViewController.m
@@ -788,7 +788,7 @@
 + (NSString*)applicationDocumentsDirectory
 {
     NSArray* paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask,
YES);
-    NSString* basePath = ([paths count] > 0) ? (([paths objectAtIndex : 0]) : nil);
+    NSString* basePath = (([paths count] > 0) ? ([paths objectAtIndex : 0]) : nil);
 
     return basePath;
 }


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


Mime
View raw message