Info panel: Shorten memory line and simplify code a bit
commit3bc48f089325a9cf014aea6d38c3f17d9d0bb193
authorCarlos R. Mafra <crmafra@gmail.com>
Sun, 22 Jan 2012 18:04:47 +0000 (22 18:04 +0000)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 25 Jan 2012 17:40:18 +0000 (25 17:40 +0000)
tree9e88276c83581d93ba4d5e921fa2bc05c51857ac
parentcbe2f4e61a12b6bb13469f1eac7df14bbf423128
Info panel: Shorten memory line and simplify code a bit

With the fonts I use here, the memory information line in the "Info panel"
did not fit inside the window. So make that line a bit shorter by displaying

Total memory allocated: 2600 kB (in use: 2182 kB)

instead of

Total allocated memory: 2600 kB. Total memory in use: 2182 kB.

Furthermore, the surrounding code was a bit convoluted to display either

"Additional support for: WMSPEC"

or

"Additional support for: WMSPEC and MW"

As WMSPEC is always present and it doesn't seem we are adding more stuff
to support, one can do the same with a shorter code which reads a little
bit better.
src/dialog.c