--- app_directory.c 2007-02-14 13:23:38.000000000 -0600 +++ app_directory.c.orig 2007-02-14 13:22:45.000000000 -0600 @@ -456,7 +456,7 @@ pos = strrchr(pos, ' ') + 1; conv = convert(pos); if (conv) { - if (!strncmp(conv, ext, strlen(ext))) { + if (!strcmp(conv, ext)) { /* Match! */ found++; free(conv);