summaryrefslogtreecommitdiff
path: root/examples/renderdemo.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-09-13 14:24:05 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-09-13 14:24:05 +0000
commite1d9bf4f9ead8e632fcb9c96361b54546a198a89 (patch)
treece74af5785ae645bf3b532a32b1d89a4fb3e2944 /examples/renderdemo.c
parentd175847f6d73afc50dbf1f03a344f16b71933620 (diff)
downloadpango-e1d9bf4f9ead8e632fcb9c96361b54546a198a89.tar.gz
Fix reversed auto-hint option.
Mon Aug 16 14:17:56 2004 Owen Taylor <otaylor@redhat.com> * examples/renderdemo.c (fc_substitute_func): Fix reversed auto-hint option.
Diffstat (limited to 'examples/renderdemo.c')
-rw-r--r--examples/renderdemo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/renderdemo.c b/examples/renderdemo.c
index 0cc30fff..669ad81b 100644
--- a/examples/renderdemo.c
+++ b/examples/renderdemo.c
@@ -313,7 +313,7 @@ fc_substitute_func (FcPattern *pattern, gpointer data)
FcPatternAddBool (pattern, FC_HINTING, opt_hinting != HINT_NONE);
FcPatternDel (pattern, FC_AUTOHINT);
- FcPatternAddBool (pattern, FC_AUTOHINT, opt_hinting != HINT_AUTO);
+ FcPatternAddBool (pattern, FC_AUTOHINT, opt_hinting == HINT_AUTO);
}
}