Mercurial > hg > xmms-sid
diff src/xs_title.c @ 763:61a527ac3baa
Cleanups, remove useless function.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 05 Nov 2012 22:39:12 +0200 |
parents | 55eea3fa8868 |
children | be2a8436461a |
line wrap: on
line diff
--- a/src/xs_title.c Mon Nov 05 22:38:41 2012 +0200 +++ b/src/xs_title.c Mon Nov 05 22:39:12 2012 +0200 @@ -31,21 +31,21 @@ /* Split the filename into path */ *tmpFilePath = g_strdup(path); - tmpStr = xs_strrchr(*tmpFilePath, '/'); + tmpStr = strrchr(*tmpFilePath, '/'); if (tmpStr) tmpStr[1] = 0; /* Filename */ - *tmpFilename = xs_strrchr(path, '/'); + *tmpFilename = strrchr(path, '/'); if (*tmpFilename) *tmpFilename = g_strdup(*tmpFilename + 1); else *tmpFilename = g_strdup(path); - tmpStr = xs_strrchr(*tmpFilename, '.'); + tmpStr = strrchr(*tmpFilename, '.'); tmpStr[0] = 0; /* Extension */ - *tmpFileExt = xs_strrchr(path, '.'); + *tmpFileExt = strrchr(path, '.'); }