[pango] Fix bug in previous commit
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Fix bug in previous commit
- Date: Fri, 21 Aug 2015 15:28:04 +0000 (UTC)
commit c7bca3b1431e50e8f01e4d4f952b38dee86ec0fd
Author: Behdad Esfahbod <behdad behdad org>
Date: Fri Aug 21 15:20:02 2015 +0100
Fix bug in previous commit
pango/pango-layout.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 3f3f98f..a9241c1 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -5242,7 +5242,7 @@ justify_clusters (PangoLayoutLine *line,
int leftmost, rightmost;
int adjustment, space_left, space_right;
- adjustment = ((gaps_so_far * total_remaining_width) - total_gaps/2) / total_gaps -
added_so_far;
+ adjustment = ((gaps_so_far * total_remaining_width) - total_remaining_width/2) / total_gaps
- added_so_far;
if (is_hinted)
adjustment = PANGO_UNITS_ROUND (adjustment);
/* distribute to before/after */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]