WPrefs: created an array to store the database values for the Icon Position setting
commit6ef4b06cca114c976e53841142309a410e43b2d3
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 21 Dec 2014 17:13:15 +0000 (21 18:13 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 23 Dec 2014 11:33:36 +0000 (23 11:33 +0000)
tree8adc26621bf39609817a7030db4563225253b341
parentd89b1f5ca3115539806a6d2c9a5253cfde56eb80
WPrefs: created an array to store the database values for the Icon Position setting

By having an array, it makes the code simpler in many places, thus easier
to maintain. Took opportunity to include a comment about the trick used to
have a value convenient for use.

It is the opportunity to log an error message to user instead of silently
accepting invalid values.

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