tFixing the C reading test. - st - [fork] customized build of st, the simple te… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 9494362d0b35dfe2fa22c3e36ed7b2043b2e8a3d | |
parent cf1fcc4d96f9162272003f82839388093c01360e | |
Author: Christoph Lohmann <[email protected]> | |
Date: Tue, 10 Mar 2015 21:11:04 +0100 | |
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. | |
Diffstat: | |
M st.c | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -3398,7 +3398,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, i… | |
break; | |
/* We got a default font for a not found glyph. */ | |
if(!charexists && frc[i].flags == frcflags \ | |
- && unicodep == unicodep) { | |
+ && frc[i].unicodep == unicodep) { | |
break; | |
} | |
} | |
t@@ -3427,7 +3427,6 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, i… | |
FcConfigSubstitute(0, fcpattern, | |
FcMatchPattern); | |
- FcPatternPrint(fcpattern); | |
FcDefaultSubstitute(fcpattern); | |
fontpattern = FcFontSetMatch(0, fcsets, 1, |