diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-08-26 06:25:52 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-08-26 06:25:52 +0000 |
commit | be554c2596c8d7f905e25a67b60f4497c76d4d9f (patch) | |
tree | 99028a8658fda012c1261fa07ed4313f982509fd /src/audioOutputs/audioOutput_oss.c | |
parent | f3981eab58b607a10bfd73f55160c9e52753bf7d (diff) | |
download | mpd-be554c2596c8d7f905e25a67b60f4497c76d4d9f.tar.gz mpd-be554c2596c8d7f905e25a67b60f4497c76d4d9f.tar.xz mpd-be554c2596c8d7f905e25a67b60f4497c76d4d9f.zip |
audioOutputs_oss: [trivial] make loop interation consistent with others
git-svn-id: https://svn.musicpd.org/mpd/trunk@4689 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audioOutputs/audioOutput_oss.c')
-rw-r--r-- | src/audioOutputs/audioOutput_oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_oss.c b/src/audioOutputs/audioOutput_oss.c index af6cd5dcf..bd66bb050 100644 --- a/src/audioOutputs/audioOutput_oss.c +++ b/src/audioOutputs/audioOutput_oss.c @@ -368,7 +368,7 @@ static int oss_open_default(AudioOutput *ao, ConfigParam *param, OssData *od) else ERROR("error trying to open default OSS device\n"); - for (i = ARRAY_SIZE(default_devices) - 1; i >= 0; --i) { + for (i = ARRAY_SIZE(default_devices); --i >= 0; ) { const char *dev = default_devices[i]; switch(ret[i]) { case OSS_STAT_DOESN_T_EXIST: |