Simplify read_*_option() stuff by passing pointer to option value.
authorLaurent Monin <geeqie@norz.org>
Sun, 13 Apr 2008 08:36:17 +0000 (08:36 +0000)
committerLaurent Monin <geeqie@norz.org>
Sun, 13 Apr 2008 08:36:17 +0000 (08:36 +0000)
commit9ca550aba088f91cc6996f6cc087cdfd62bba93f
treed659cf4e320f73aed743a382e0a0beac98a941c7
parent49b7c7fe48866f69d080a098f8a9d06edc818738
Simplify read_*_option() stuff by passing pointer to option value.
Introduce read_uint_option() to read enum values and read_int_option_clamp()
to read clamped values.
src/rcfile.c