(mfont__lookup_fontset): Fix previous change.
authorhanda <handa>
Wed, 14 Jul 2004 05:19:25 +0000 (05:19 +0000)
committerhanda <handa>
Wed, 14 Jul 2004 05:19:25 +0000 (05:19 +0000)
src/fontset.c

index d0a630d..d3f3c7c 100644 (file)
@@ -580,7 +580,7 @@ mfont__lookup_fontset (MRealizedFontset *realized, MGlyph *g, int *num,
          for (j = 0; j < *num; j++)
            {
              g[j].code = mfont__encode_char (rfont,
-                                             g[j].type = GLYPH_CHAR ? g[j].c
+                                             g[j].type == GLYPH_CHAR ? g[j].c
                                              : ' ');
              if (g[j].code == MCHAR_INVALID_CODE)
                break;