You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2013/02/20 23:20:31 UTC

[10/26] wp7 commit: Spelling: preferred

Spelling: preferred


Project: http://git-wip-us.apache.org/repos/asf/cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp7/commit/33a50f82
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp7/tree/33a50f82
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp7/diff/33a50f82

Branch: refs/heads/master
Commit: 33a50f8252d19c7865c47b4b6ba3dfe90041b570
Parents: c88f414
Author: Josh Soref <js...@rim.com>
Authored: Tue Sep 11 16:05:22 2012 -0400
Committer: Josh Soref <js...@rim.com>
Committed: Tue Sep 11 16:05:22 2012 -0400

----------------------------------------------------------------------
 .../standalone/cordovalib/Commands/Contacts.cs     |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/33a50f82/templates/standalone/cordovalib/Commands/Contacts.cs
----------------------------------------------------------------------
diff --git a/templates/standalone/cordovalib/Commands/Contacts.cs b/templates/standalone/cordovalib/Commands/Contacts.cs
index 1157b91..390c387 100644
--- a/templates/standalone/cordovalib/Commands/Contacts.cs
+++ b/templates/standalone/cordovalib/Commands/Contacts.cs
@@ -536,7 +536,7 @@ namespace WP7CordovaClassLib.Cordova.Commands
             return retVal.TrimEnd(',');
         }
 
-        private string getFormattedJSONAddress(ContactAddress address, bool isPrefered)
+        private string getFormattedJSONAddress(ContactAddress address, bool isPreferred)
         {
 
             string addressFormatString = "\"pref\":{0}," + // bool
@@ -556,7 +556,7 @@ namespace WP7CordovaClassLib.Cordova.Commands
                                     + address.PhysicalAddress.PostalCode;
 
             string jsonAddress = string.Format(addressFormatString,
-                                               isPrefered ? "\"true\"" : "\"false\"",
+                                               isPreferred ? "\"true\"" : "\"false\"",
                                                address.Kind.ToString(),
                                                formattedAddress,
                                                address.PhysicalAddress.AddressLine1 + " " + address.PhysicalAddress.AddressLine2,