[pango/line-breaking-fixes: 11/12] Cosmetics
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/line-breaking-fixes: 11/12] Cosmetics
- Date: Fri, 12 Nov 2021 20:15:12 +0000 (UTC)
commit 5f5b092cfa8ede75d142e9c9df1eacbbd04741e0
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Nov 12 13:57:18 2021 -0500
Cosmetics
pango/pango-layout.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 65bc8596..1f44cba6 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -3930,7 +3930,8 @@ process_item (PangoLayout *layout,
/* If there's a space at the end of the line, include that also.
* The logic here should match zero_line_final_space().
* XXX Currently it doesn't quite match the logic there. We don't check
- * the cluster here. But should be fine in practice. */
+ * the cluster here. But should be fine in practice.
+ */
if (break_num_chars > 0 && break_num_chars < item->num_chars &&
layout->log_attrs[state->start_offset + break_num_chars - 1].is_white)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]