Author: muggenhor
Date: Sun Nov  4 16:24:37 2007
New Revision: 2709

URL: http://svn.gna.org/viewcvs/warzone?rev=2709&view=rev
Log:
 * Clean up some of the playlist code:
   * Make PlayList_Read return a bool instead of char (using 'char' there was a 
perfect example of premature optimisation; to save memory most likely)
   * Remove macro CURRENT_TRACK which expanded to playlist[current_track] (it 
did _not_ increase readability)
   * Make sure to free resources from __all__ return paths from PlayList_Read
   * Check realloc's return value
   * Don't bitshift but multiply!
   * Make sure to follow coding style (in PlayList_Read)

Modified:
    trunk/lib/sound/cdaudio.c
    trunk/lib/sound/playlist.c
    trunk/lib/sound/playlist.h


_______________________________________________
Warzone-commits mailing list
Warzone-commits@gna.org
https://mail.gna.org/listinfo/warzone-commits

Reply via email to