Index: trunk/src/parse_l.c =================================================================== --- trunk/src/parse_l.c (revision 1019) +++ trunk/src/parse_l.c (revision 1020) @@ -2476,7 +2476,7 @@ /* search through the font path for a font file */ if ((Filename[0] == '/') || (strncmp(Filename, "./", 2) == 0) || (strncmp(Filename, "../", 2) == 0)) { r = Parse(NULL, Settings.FontCommand, NULL, Filename, NULL); - if (r != "") + if (r != 0) return r; } Index: trunk/src/parse_l.l =================================================================== --- trunk/src/parse_l.l (revision 1019) +++ trunk/src/parse_l.l (revision 1020) @@ -357,7 +357,7 @@ /* search through the font path for a font file */ if ((Filename[0] == '/') || (strncmp(Filename, "./", 2) == 0) || (strncmp(Filename, "../", 2) == 0)) { r = Parse(NULL, Settings.FontCommand, NULL, Filename, NULL); - if (r != "") + if (r != 0) return r; }