Mercurial > mplayer.hg
changeset 35474:e53785e5205b
Do not use strrchr when strchr works just as well.
author | reimar |
---|---|
date | Sun, 02 Dec 2012 23:25:20 +0000 |
parents | d61151719945 |
children | 49f29de2ff10 |
files | libao2/ao_alsa.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_alsa.c Sun Dec 02 22:02:51 2012 +0000 +++ b/libao2/ao_alsa.c Sun Dec 02 23:25:20 2012 +0000 @@ -235,9 +235,9 @@ char *tmp; memmove(dest, src, len); dest[len] = 0; - while ((tmp = strrchr(dest, '.'))) + while ((tmp = strchr(dest, '.'))) tmp[0] = ','; - while ((tmp = strrchr(dest, '='))) + while ((tmp = strchr(dest, '='))) tmp[0] = ':'; }