summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-01-19 08:51:06 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-01-24 07:46:42 -0500
commit47e0c65b6c2d355d04ef0c90cf6891de60d4c0e6 (patch)
treeaf902411684cafcf4fa3aab70d6164fb3e1a657f
parent6d5b02deda94c46b617b8211518f80c54f2c01c4 (diff)
downloadpango-47e0c65b6c2d355d04ef0c90cf6891de60d4c0e6.tar.gz
shape: Cosmetics
Tweak a comment
-rw-r--r--pango/shape.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/pango/shape.c b/pango/shape.c
index 30bceb80..c61a46a3 100644
--- a/pango/shape.c
+++ b/pango/shape.c
@@ -123,11 +123,10 @@ pango_hb_font_get_nominal_glyph (hb_font_t *font,
if ((context->show_flags & PANGO_SHOW_LINE_BREAKS) != 0 &&
unicode == 0x2028)
{
- /* Always mark LS as unknown. If it ends up
- * at the line end, PangoLayout takes care of
- * hiding them, and if they end up in the middle
- * of a line, we are in single paragraph mode
- * and want to show the LS
+ /* Always mark LS as unknown. If it ends up at the line end,
+ * the line breaking code takes care of hiding them, and if
+ * they end up in the middle of a line, we are in single
+ * paragraph mode and want to show the LS.
*/
*glyph = PANGO_GET_UNKNOWN_GLYPH (unicode);
return TRUE;