X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fdropsbr.c;h=15cee8fb3d16abb9c8edb8852eaea7747b44b812;hb=ff99b7b6299a8ebe433a31f7bf15b158e9dcdea8;hp=a857a1a86d5b2e3e42077327103fbe20c46046a0;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh diff --git a/uip/dropsbr.c b/uip/dropsbr.c index a857a1a..15cee8f 100644 --- a/uip/dropsbr.c +++ b/uip/dropsbr.c @@ -486,7 +486,7 @@ map_name(char *file) register char *cp, *dp; static char buffer[BUFSIZ]; - if ((dp = strchr(cp = r1bindex(file, '/'), '.')) == NULL) + if ((dp = strchr(cp = mhbasename(file), '.')) == NULL) dp = cp + strlen(cp); if (cp == file) snprintf(buffer, sizeof(buffer), ".%.*s%s",