|
Rockbox mail archiveSubject: Re: Read errors (was:Power Save feature kills playlist playback)Re: Read errors (was:Power Save feature kills playlist playback)
From: Björn Stenberg <bjorn_at_haxx.se>
Date: Thu, 13 Mar 2003 16:37:54 +0100 Mike Holden wrote: > We sometimes return 0 for success, > sometimes for error, but often use "if (somefunction())" type constructs, > which can be misleading, since the value being tested may not follow the > usual tradition of 0=true, anything else=false. Maybe because it's actually the opposite. 0 == false, anything else == true. :-) But I think you may indeed have found something. 'ret' should be initialized at the top of the loop, not at the bottom. -- BjörnReceived on 2003-03-13 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |