WPrefs: Prefer use of 'sizeof' instead of hard-coded values
commitdae63b5e96a35eac8e805f84ea42008c157c0aa4
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 22 Feb 2019 14:48:14 +0000 (22 15:48 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 22 Feb 2019 16:08:36 +0000 (22 16:08 +0000)
treec99ea8624ab66a538110ce7995b2ef6d71698b8f
parent738a78b3e25b5370d1dac86870d648b4ae947f26
WPrefs: Prefer use of 'sizeof' instead of hard-coded values

Hard-coding a value is prone to errors when maintaining the code; using the
builtin C macro 'sizeof' is a much safer choice.

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