WPrefs: grouped the choices for Window Resize Display in a single place
commitd2101b287a114459562bc5d5da51cc4e57e0f8e7
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 21 Dec 2014 17:13:16 +0000 (21 18:13 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 23 Dec 2014 11:33:36 +0000 (23 11:33 +0000)
treeddbc14227beb161716c189332285489e804c9081
parent6ef4b06cca114c976e53841142309a410e43b2d3
WPrefs: grouped the choices for Window Resize Display in a single place

By having an array, it makes the code simpler in many places, thus easier
to maintain and to implement new possibilities.

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/Preferences.c