Skip to content

Instantly share code, notes, and snippets.

View v-gu's full-sized avatar

Vincent Gu v-gu

View GitHub Profile
diff --git a/src/cmd/fontsrv/x11.c b/src/cmd/fontsrv/x11.c
index 43b013e..0119923 100644
--- a/src/cmd/fontsrv/x11.c
+++ b/src/cmd/fontsrv/x11.c
@@ -36,16 +36,16 @@ loadfonts(void)
xfont = emalloc9p(sysfonts->nfont*sizeof xfont[0]);
memset(xfont, 0, sysfonts->nfont*sizeof xfont[0]);
for(i=0; i<sysfonts->nfont; i++) {
- FcChar8 *fullname, *fontfile;
+ FcChar8 *familyname, *fontfile;