WPrefs: replaced NULL terminated lists by 'wlengthof' usages
commit2c9e500b88bc3976bc58bf4e86105a5057d6bfc7
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 4 Jul 2014 21:28:43 +0000 (4 23:28 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 6 Jul 2014 00:07:55 +0000 (6 01:07 +0100)
tree5023ac1d726daa30a4e93985339398430a56cac4
parent0d66ba5735d8aa70242f69dbea7406ce52bc5961
WPrefs: replaced NULL terminated lists by 'wlengthof' usages

When a list has a fixed size, it is better to use the size of the list
instead of an end-of-list mark because it avoid unnecessary memory usage
and ease compiler's optimisation task.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WPrefs.app/FontSimple.c