summaryrefslogtreecommitdiff
path: root/pango/pangowin32.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-11-01 13:54:42 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-11-01 13:55:30 -0400
commit2099fcf52b4f33da77c9fe11210ee3c2c927c449 (patch)
tree8c23a27a22f5a32cdbd72a2d21fbc424bb69a2ac /pango/pangowin32.c
parent7936665fccec5ad2cd832e6a4d0c0675e925734b (diff)
downloadpango-2099fcf52b4f33da77c9fe11210ee3c2c927c449.tar.gz
win32: Add a placeholder for new underline values
Somebody with access to a win32 machine will have to implement these, as well as overline. This placeholder should at least fix the build with draconian compiler flags (-Werror=switch).
Diffstat (limited to 'pango/pangowin32.c')
-rw-r--r--pango/pangowin32.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pangowin32.c b/pango/pangowin32.c
index c08ae24b..737cfa14 100644
--- a/pango/pangowin32.c
+++ b/pango/pangowin32.c
@@ -1044,6 +1044,11 @@ pango_win32_render_layout_line (HDC hdc,
points[1].x = x + PANGO_PIXELS (x_off + ink_rect.x + ink_rect.width);
Polyline (hdc, points, 2);
break;
+ case PANGO_UNDERLINE_SINGLE_LINE:
+ case PANGO_UNDERLINE_DOUBLE_LINE:
+ case PANGO_UNDERLINE_ERROR_LINE:
+ g_warning ("Underline value %d not implemented", uline);
+ break;
}
if (uline != PANGO_UNDERLINE_NONE)