WPrefs: Use the macro 'wlengthof' to get the number of element in an array
commit01c7390be1a3b4bc76dfcf6baf651cf34c989106
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 8 Nov 2013 20:18:22 +0000 (8 21:18 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 30 Dec 2013 18:11:03 +0000 (30 18:11 +0000)
tree406d34f4c59d12d66dae71cfc4b2364c5617c94a
parentbe022d9623d9efa25b7c276ac00ed7245eb089da
WPrefs: Use the macro 'wlengthof' to get the number of element in an array

The new macro 'wlengthof' from WUtil makes code easier to read than the
previous [sizeof() / sizeof([0]) ] construct.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WPrefs.app/Appearance.c
WPrefs.app/Expert.c
WPrefs.app/KeyboardShortcuts.c
WPrefs.app/MouseSettings.c
WPrefs.app/Workspace.c