summaryrefslogtreecommitdiffstats
path: root/ui/gfx/pango_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/pango_util.cc')
-rw-r--r--ui/gfx/pango_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/pango_util.cc b/ui/gfx/pango_util.cc
index 424eb45..612cd63 100644
--- a/ui/gfx/pango_util.cc
+++ b/ui/gfx/pango_util.cc
@@ -346,7 +346,7 @@ void DrawPangoLayout(cairo_t* cr,
cairo_move_to(cr, text_rect.x(), text_rect.y());
pango_cairo_show_layout(cr, layout);
- if (font.GetStyle() & gfx::Font::UNDERLINED) {
+ if (font.GetStyle() & gfx::Font::UNDERLINE) {
gfx::PlatformFontPango* platform_font =
static_cast<gfx::PlatformFontPango*>(font.platform_font());
DrawPangoTextUnderline(cr, platform_font, 0.0, text_rect);