summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/pango-renderer.c5
-rw-r--r--pango/pangocairo-render.c4
2 files changed, 4 insertions, 5 deletions
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c
index cdb876f7..e20ac719 100644
--- a/pango/pango-renderer.c
+++ b/pango/pango-renderer.c
@@ -802,9 +802,8 @@ pango_renderer_draw_error_underline (PangoRenderer *renderer,
* \ \/ \ \/ \ \/ \ \ |
* \ / \ / \ / \ / |
* \/ \/ \/ \/ -
- *
- * |----|
- * unit_width = (HEIGHT_SQUARES - 1) * square
+ * |---|
+ * unit_width = (HEIGHT_SQUARES - 1) * square
*
* To do this conveniently, we work in a coordinate system where A,B,C
* are axis aligned rectangles. (If fonts were square, the diagrams
diff --git a/pango/pangocairo-render.c b/pango/pangocairo-render.c
index 8d32e378..a92f207c 100644
--- a/pango/pangocairo-render.c
+++ b/pango/pangocairo-render.c
@@ -287,8 +287,8 @@ pango_cairo_renderer_draw_rectangle (PangoRenderer *renderer,
* \ / \ / \ / \ / |
* \/ \/ \/ \/ -
* B B
- * |----|
- * unit_width = (HEIGHT_SQUARES - 1) * square
+ * |---|
+ * unit_width = (HEIGHT_SQUARES - 1) * square
*
* The x, y, width, height passed in give the desired bounding box;
* x/width are adjusted to make the underline a integer number of units