Mercurial > geeqie
diff src/image.c @ 639:8b95e1859fee
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.
author | zas_ |
---|---|
date | Mon, 12 May 2008 08:52:17 +0000 |
parents | d9c9d05c9d4d |
children | 8268cbe682f1 |