Changeset dec4051286cdda84b13a686b574d5360c7e4560e

Show
Ignore:
Timestamp:
03/11/08 09:05:24 (6 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1205222724 +0100
git-parent:

[1bbcb9f0db5392f291b31f03db9048e18db4e4bf]

git-author:
Rafaël Carré <funman@videolan.org> 1205196595 +0100
Message:

fix ticket #1482 (and most problems with config saving by the way)
regression was introduced in [92290c9d7485934444efcfbb61c27f3bc94a61d3] (more than one year ago Oo )

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/config/file.c

    r1bbcb9f rdec4051  
    425425    if( !p_bigbuffer ) 
    426426    { 
    427         msg_Err( p_this, "out of memory" ); 
    428427        if( file ) fclose( file ); 
    429428        vlc_mutex_unlock( &p_this->p_libvlc->config_lock ); 
     
    632631    int i_index, i_count; 
    633632 
    634     if( !p_this ) return -1
     633    assert( p_this )
    635634 
    636635    /* Check if there's anything to save */ 
     
    651650            if( p_item->b_autosave && p_item->b_dirty ) break; 
    652651        } 
    653         break; 
     652        if( p_item < p_end ) break; 
    654653    } 
    655654    vlc_list_release( p_list );