diff options
Diffstat (limited to 'src/fontfile/renderers.c')
-rw-r--r-- | src/fontfile/renderers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fontfile/renderers.c b/src/fontfile/renderers.c index a9e4bef..5091922 100644 --- a/src/fontfile/renderers.c +++ b/src/fontfile/renderers.c @@ -64,7 +64,7 @@ FontFilePriorityRegisterRenderer (FontRendererPtr renderer, int priority) } for (i = 0; i < renderers.number; i++) { - if (!strcasecmp (renderers.renderers[i].renderer->fileSuffix, + if (!strcasecmp (renderers.renderers[i].renderer->fileSuffix, renderer->fileSuffix)) { if(renderers.renderers[i].priority >= priority) { if(renderers.renderers[i].priority == priority) { @@ -99,7 +99,7 @@ FontFileMatchRenderer (char *fileName) int i; int fileLen; FontRendererPtr r; - + fileLen = strlen (fileName); for (i = 0; i < renderers.number; i++) { |