summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-30 17:50:36 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-30 17:50:36 +0000
commit11713fd37bfee13bbc698190d939259ecff636f8 (patch)
treec178e0f17cecfa2d5d144b79378f44e05e6bd779 /chrome/browser
parent54d872f5661417410bf946f1ae3730d4fe801b9a (diff)
downloadchromium_src-11713fd37bfee13bbc698190d939259ecff636f8.zip
chromium_src-11713fd37bfee13bbc698190d939259ecff636f8.tar.gz
chromium_src-11713fd37bfee13bbc698190d939259ecff636f8.tar.bz2
mac: Fix 2 harmless -Wformat issues found by clang.
BUG=111861 TEST=none Review URL: http://codereview.chromium.org/9232073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119689 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
index abb528d..bc6dfc6 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -218,7 +218,7 @@ NSAttributedString* OmniboxPopupViewMac::MatchText(
font.GetNativeFont(), NSFontAttributeName,
ContentTextColor(), NSForegroundColorAttributeName,
nil];
- NSString* rawEnDash = [NSString stringWithFormat:@" %C ", 0x2013];
+ NSString* rawEnDash = @" \u2013 ";
NSAttributedString* enDash =
[[[NSAttributedString alloc] initWithString:rawEnDash
attributes:attributes] autorelease];