This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7858 - tiny improvement on tagtree.c
Attached to Project:
Rockbox
Opened by Xinlu Huang (polygonal) - Friday, 28 September 2007, 23:17 GMT+1
Opened by Xinlu Huang (polygonal) - Friday, 28 September 2007, 23:17 GMT+1
|
DetailsCurrently tagtree.c parses everything from tagnavi file(s), which is unnecessary because once a root menu is found, nothing more is needed since only the first root menu is used and anything used by that should be defined before the root_menu statement.
So I basically tell the parser to stop as soon as a valid root_menu is set. Obviously this fix is not a big deal, but the parser annoys me because it produces a lots of useless logf's when I tried to debug my own custom_tagnavi file that sets a different root menu. I also removed a obsolete comment (the syntax in that comment is out of date). |
This task depends upon
oops, sorry about the crlf ending... TortoiseSVN changed it without me knowing.
tortoiseSVN works native, so all files it works with are CR-LF on windows