diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-05-29 15:55:57 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-05-29 15:55:57 +0000 |
commit | f138d945460f2c6e287e098d0bfe04ed20d57f18 (patch) | |
tree | 9a6ff9442643056cea66a11b21267aa5bcc8833e /examples/viewer-qt.cc | |
parent | 45a1d90a3a453950f74bada5c5337554cb596062 (diff) | |
download | pango-f138d945460f2c6e287e098d0bfe04ed20d57f18.tar.gz |
Fix bug in MRU list code.
Mon May 29 11:14:34 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox-fontcache.c (pango_x_font_cache_load): Fix bug
in MRU list code.
* pango/pango-layout.c (pango_layout_check_lines): Fix infinite
loop in the case where the first item doesn't fit, but
whitespace follows that must go onto the same line.
* examples/viewer-qt.h: Minor changes so it compiles with
Qt-2.0. (Though the utf8 codec in Qt-2.0 seems to be slightly
buggy.)
Diffstat (limited to 'examples/viewer-qt.cc')
-rw-r--r-- | examples/viewer-qt.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/viewer-qt.cc b/examples/viewer-qt.cc index c3d07040..b991a983 100644 --- a/examples/viewer-qt.cc +++ b/examples/viewer-qt.cc @@ -293,7 +293,7 @@ ViewerView::updateHighlightChar () { QRect bounds = para->charBounds (highlight_index_); bounds.moveBy (0, y); - updateContents (bounds); + updateContents (bounds.x(), bounds.y(), bounds.width(), bounds.height()); break; } |