summaryrefslogtreecommitdiff
path: root/pango-view
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-01-16 21:38:26 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-01-16 21:38:26 +0000
commit8f889bf88b2e6be62af512d5fef5a1ec8bc93eba (patch)
tree9a0f57811fd1e474b066911ccbccd48b338c1532 /pango-view
parente1181d9a4c6f49586dfb96a837cde2846cbbb06e (diff)
downloadpango-8f889bf88b2e6be62af512d5fef5a1ec8bc93eba.tar.gz
Fix typo when rounding to points.
2007-01-16 Behdad Esfahbod <behdad@gnome.org> * pango-view/viewer-render.c (make_layout): Fix typo when rounding to points. svn path=/trunk/; revision=2169
Diffstat (limited to 'pango-view')
-rw-r--r--pango-view/viewer-render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango-view/viewer-render.c b/pango-view/viewer-render.c
index 9d3af1af..ed79359a 100644
--- a/pango-view/viewer-render.c
+++ b/pango-view/viewer-render.c
@@ -119,11 +119,11 @@ make_layout(PangoContext *context,
if (opt_width > 0)
{
pango_layout_set_wrap (layout, opt_wrap);
- pango_layout_set_width (layout, (opt_width * opt_dpi * PANGO_SCALE + 32) / 72);
+ pango_layout_set_width (layout, (opt_width * opt_dpi * PANGO_SCALE + 36) / 72);
}
if (opt_indent != 0)
- pango_layout_set_indent (layout, (opt_indent * opt_dpi * PANGO_SCALE + 32) / 72);
+ pango_layout_set_indent (layout, (opt_indent * opt_dpi * PANGO_SCALE + 36) / 72);
base_dir = pango_context_get_base_dir (context);
pango_layout_set_alignment (layout,