diff options
author | Daniel Boles <dboles@src.gnome.org> | 2017-03-01 20:10:55 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-02-17 22:18:13 -0500 |
commit | db4895fbe52c63fdcee60a35c64a7afbb353e243 (patch) | |
tree | 8efd61c4fb6ef9e0b6ef0a7f20480899ddc4f876 /gtk/gtkprintbackend.c | |
parent | f42ebef9d186ff87df2bbe0a37d7d14e58103577 (diff) | |
download | gtk+-db4895fbe52c63fdcee60a35c64a7afbb353e243.tar.gz |
TextLayout: Clarify implementation of special case
This exists to exit early for invisible lines. It attempts to use the
LineDisplay’s direction to create a corresponding PangoLayout. However,
the dir is not yet set by this point, & the display was new0()d, so its
dir is always 0 == TEXT_DIR_NONE. Thus, we always create an LTR layout.
Whatever the original intent, this outcome seems to be OK, so let’s make
the code say what it means, rather than using a misleading conditional.
https://bugzilla.gnome.org/show_bug.cgi?id=779099
Diffstat (limited to 'gtk/gtkprintbackend.c')
0 files changed, 0 insertions, 0 deletions