use strrchr() over rindex() for portability

SVN revision: 61225
This commit is contained in:
Vincent Torri 2011-07-11 04:15:42 +00:00
parent 4975adfd17
commit 58553b41ec
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ _shot_file_get(Elm_Win *win)
if (!win->shot.repeat_count) return tmp;
else
{
char *dotptr = rindex(tmp, '.');
char *dotptr = strrchr(tmp, '.');
if (dotptr)
{
repname = malloc(sizeof(char)*(strlen(tmp) + 16));