void-packages/srcpkgs/libwmf/patches/03_font.c-compare-fonts-by-...

12 lines
261 B
Diff

--- a/src/font.c
+++ b/src/font.c
@@ -199,7 +199,7 @@
unsigned int i = 0;
while (font_data->cache[i].name)
- { if (strcmp (font_data->cache[i].path,entry->path) == 0) break;
+ { if (strcmp (font_data->cache[i].name,entry->name) == 0) break;
i++;
}