projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0356d8a
)
use strrchr() over rindex() for portability
author
Vincent Torri
<vincent.torri@gmail.com>
Mon, 11 Jul 2011 04:15:42 +0000
(
04:15
+0000)
committer
Vincent Torri
<vincent.torri@gmail.com>
Mon, 11 Jul 2011 04:15:42 +0000
(
04:15
+0000)
SVN revision: 61225
src/lib/elm_win.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_win.c
b/src/lib/elm_win.c
index
ecd6695
..
67aa39b
100644
(file)
--- a/
src/lib/elm_win.c
+++ b/
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));