]> git.wh0rd.org - fontconfig.git/blobdiff - src/fclist.c
Eliminate ./ and ../ elements from font directory names when scanning.
[fontconfig.git] / src / fclist.c
index 38c20e00db58f35cf9591f1c52d97b78f316e763..9aef84297150cb12c146fd4518e395b6a8f63412 100644 (file)
@@ -22,8 +22,8 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include <stdlib.h>
 #include "fcint.h"
+#include <stdlib.h>
 
 FcObjectSet *
 FcObjectSetCreate (void)
@@ -422,10 +422,6 @@ FcListAppend (FcListHashTable      *table,
        else
            defidx = 0;
 
-        /* Also, copy over the full path info. */
-       if (!strcmp (os->objects[o], FC_FILE))
-           FcPatternTransferFullFname (bucket->pattern, font);
-
        e = FcPatternFindElt (font, os->objects[o]);
        if (e)
        {