8265d9fc6e0f0810b274e539d1683ea22aa387b2
The values that are displayed in the HUD box included the '%' symbol if these values were percentages. This clutters the HUD for those who don't need such extra characters. This patch removes the trailing '%' from result[1]. The default formatting for HUD values is '%3.1f' and if decimal places need to be changed, the code for those is now simpler. A user who wishes to show a percent symbol after any given stat value, can edit HUD_config.xml and assign such stats the hudsuffix="%" attribute. This patch also changes the way the tooltip strings are constructed. Instead of appending the percent symbol to generated string, the '%' is now generated in place by the format-string stanza '%%'.
Please visit http://fpdb.sourceforge.net for documentation, tips and help.
Languages
Python
57.3%
Gettext Catalog
30.3%
Modelica
11.4%
AutoIt
0.4%
Shell
0.3%
Other
0.2%