diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 18:49:46 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 18:49:46 +0000 |
commit | eadfc396ae171f7a6adbd28c79b1ddb2a7af1685 (patch) | |
tree | 0534a104b8c69caff18515b44337d49fd43a60ce /chrome/browser/search_engines | |
parent | 81218f4d04c3e4c92458bfc287bb89f2bd26c5b8 (diff) | |
download | chromium_src-eadfc396ae171f7a6adbd28c79b1ddb2a7af1685.zip chromium_src-eadfc396ae171f7a6adbd28c79b1ddb2a7af1685.tar.gz chromium_src-eadfc396ae171f7a6adbd28c79b1ddb2a7af1685.tar.bz2 |
Fix compiler warning with GCC 4.3. Patch by Craig Schlenter (see http://codereview.chromium.org/20075 ), r=me.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9232 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/search_engines')
-rw-r--r-- | chrome/browser/search_engines/template_url_prepopulate_data.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/search_engines/template_url_prepopulate_data.cc b/chrome/browser/search_engines/template_url_prepopulate_data.cc index c6b8680..ce21264 100644 --- a/chrome/browser/search_engines/template_url_prepopulate_data.cc +++ b/chrome/browser/search_engines/template_url_prepopulate_data.cc @@ -2689,8 +2689,8 @@ int CountryCharsToCountryIDWithUpdate(char c1, char c2) { // ISO 'YU' and Serbia and Montenegro were ISO 'CS'. Serbia was subsequently // issued 'RS' and Montenegro 'ME'. Windows XP and Mac OS X Leopard still use // the value 'YU'. If we get a value of 'YU' or 'CS' we will map it to 'RS'. - if (c1 == 'Y' && c2 == 'U' || - c1 == 'C' && c2 == 'S') { + if ((c1 == 'Y' && c2 == 'U') || + (c1 == 'C' && c2 == 'S')) { c1 = 'R'; c2 = 'S'; } |