Changeset 3456:005f7563cf6c in roaraudio


Ignore:
Timestamp:
02/13/10 21:24:16 (10 years ago)
Author:
phi
Branch:
default
Message:

as long as invalid, not as long as not invalid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarpulse/channelmap.c

    r3455 r3456  
    219219  *v = PA_CHANNEL_POSITION_INVALID; 
    220220 
    221   for (i = 0; *v != PA_CHANNEL_POSITION_INVALID && _roar_po_chanpos[i].name != NULL; i++) { 
     221  for (i = 0; *v == PA_CHANNEL_POSITION_INVALID && _roar_po_chanpos[i].name != NULL; i++) { 
    222222   if ( !strncasecmp(_roar_po_chanpos[i].name, s, len) && _roar_po_chanpos[i].name[len] == 0 ) { 
    223223    *v = _roar_po_chanpos[i].pos; 
Note: See TracChangeset for help on using the changeset viewer.