Fix #209 #210

Merged
RyanGlScott merged 1 commits from T209 into master 2021-02-06 06:57:10 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ pkgconf_pkg_new_from_file(pkgconf_client_t *client, const char *filename, FILE *
*/
char *mungeptr;
if ((mungeptr = strrchr(idptr, '/')) != NULL)
idptr = mungeptr++;
idptr = ++mungeptr;
#endif
pkg->id = strdup(idptr);