Rework read_*_option():
authorLaurent Monin <geeqie@norz.org>
Mon, 12 May 2008 08:52:17 +0000 (08:52 +0000)
committerLaurent Monin <geeqie@norz.org>
Mon, 12 May 2008 08:52:17 +0000 (08:52 +0000)
commitff365dc6cc9abcf3331fe3eb048c9f8bc082f5c3
tree55ced75e08581d0a3e24e97ead9b00fede071cab
parent0481d1d4e1ee29d28e766e47ab5dfd39798f9378
Rework read_*_option():
- read_u?int_option() now interpret a value of "true" as 1
- read_bool_option() now interpret any value different from 0 as true.
- make functions return TRUE on successful read, FALSE else

Theses changes will help to maintain compatibility when options are modified.
src/rcfile.c