瀏覽代碼

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.
Christoph Lohmann 10 年之前
父節點
當前提交
9494362d0b
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      st.c

+ 1 - 2
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,