FS#9958 - Avoid repeating of complicated condition

Attached to Project: Rockbox
Opened by Alexander Levin (fml2) - Thursday, 26 February 2009, 20:50 GMT
Last edited by Thomas Martitz (kugel.) - Thursday, 26 February 2009, 21:26 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Version 3.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The patch avoid multiple use of the same condition in the code. Instead, a symbol with meaningful name is introduced and used. This avoid code duplication and improves code readability.
This task depends upon

Closed by  Thomas Martitz (kugel.)
Thursday, 26 February 2009, 21:26 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed in r20117. Thanks