diff options
author | lararennie@google.com <lararennie@google.com@ee073f10-1060-11df-b6a4-87a95322a99c> | 2012-11-27 12:33:53 +0000 |
---|---|---|
committer | lararennie@google.com <lararennie@google.com@ee073f10-1060-11df-b6a4-87a95322a99c> | 2012-11-27 12:33:53 +0000 |
commit | b3ea56b912f2906188e86a6af2f5d029761b79c2 (patch) | |
tree | 51ad4d2dd90d2b28a738af563a2669fff9ae2efd | |
parent | 20b634ab760e0ae3f02079325f16ebfabda2daca (diff) | |
download | phonenumbers-b3ea56b912f2906188e86a6af2f5d029761b79c2.tar.gz |
JAVA/JS/CPP: Small comment change in the as-you-type-formatter. Patch contributed by g1smd.
git-svn-id: http://libphonenumber.googlecode.com/svn/trunk/cpp/src/phonenumbers@546 ee073f10-1060-11df-b6a4-87a95322a99c
-rw-r--r-- | asyoutypeformatter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asyoutypeformatter.cc b/asyoutypeformatter.cc index 1111fde..beef03b 100644 --- a/asyoutypeformatter.cc +++ b/asyoutypeformatter.cc @@ -469,8 +469,8 @@ bool AsYouTypeFormatter::AbleToExtractLongerNdd() { // extract a new NDD. national_number_.insert(0, national_prefix_extracted_); // Remove the previously extracted NDD from prefixBeforeNationalNumber. We - // cannot simply set it to empty string because people sometimes enter - // national prefix after country code, e.g +44 (0)20-1234-5678. + // cannot simply set it to empty string because people sometimes incorrectly + // enter national prefix after the country code, e.g. +44 (0)20-1234-5678. int index_of_previous_ndd = prefix_before_national_number_.find_last_of(national_prefix_extracted_); prefix_before_national_number_.resize(index_of_previous_ndd); |