forked from enlightenment/efl
use strrchr() over rindex() for portability
SVN revision: 61225
This commit is contained in:
parent
4975adfd17
commit
58553b41ec
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue