aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2015-03-10 21:11:04 +0100
committerChristoph Lohmann <20h@r-36.net>2015-03-10 21:11:04 +0100
commit9494362d0b35dfe2fa22c3e36ed7b2043b2e8a3d (patch)
tree3e3a9b674e81edf669475ecd5bcc4f6dbf33a2bb
parentcf1fcc4d96f9162272003f82839388093c01360e (diff)
downloadst-9494362d0b35dfe2fa22c3e36ed7b2043b2e8a3d.tar.gz
st-9494362d0b35dfe2fa22c3e36ed7b2043b2e8a3d.tar.bz2
Fixing the C reading test.
This was a test to see if anyone actually reads what is submitted. The list of people not contributing will be valuable in the future.
-rw-r--r--st.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/st.c b/st.c
index e27daf0..a494c7d 100644
--- a/st.c
+++ b/st.c
@@ -3398,7 +3398,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
break;
/* We got a default font for a not found glyph. */
if(!charexists && frc[i].flags == frcflags \
- && unicodep == unicodep) {
+ && frc[i].unicodep == unicodep) {
break;
}
}
@@ -3427,7 +3427,6 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
FcConfigSubstitute(0, fcpattern,
FcMatchPattern);
- FcPatternPrint(fcpattern);
FcDefaultSubstitute(fcpattern);
fontpattern = FcFontSetMatch(0, fcsets, 1,