aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-07-11 04:15:42 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-07-11 04:15:42 +0000
commit58553b41ec748bcf17b36e4f43f64dc344ba7f51 (patch)
tree0f5cd1797d1122d8b2ea88165ac249eda3d770b3 /legacy/elementary/src/lib/elm_win.c
parentelementary: Ignore sample programs in docs (diff)
downloadefl-58553b41ec748bcf17b36e4f43f64dc344ba7f51.tar.gz
use strrchr() over rindex() for portability
SVN revision: 61225
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index ecd6695cc7..67aa39ba49 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -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));