···55/*****************************************************************************
66 * File name: src/libini/expr.c *
77 * Created: 2010-09-13 by Hampa Hug <hampa@hampa.ch> *
88- * Copyright: (C) 2010-2020 Hampa Hug <hampa@hampa.ch> *
88+ * Copyright: (C) 2010-2024 Hampa Hug <hampa@hampa.ch> *
99 *****************************************************************************/
10101111/*****************************************************************************
···1515 * *
1616 * This program is distributed in the hope that it will be useful, but *
1717 * WITHOUT ANY WARRANTY, without even the implied warranty of *
1818- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
1818+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
1919 * Public License for more details. *
2020 *****************************************************************************/
2121···630630 return (0);
631631 }
632632 else if (strcmp (str, "false") == 0) {
633633+ ini_val_set_uint32 (val, 0);
634634+ return (0);
635635+ }
636636+ else if (strcmp (str, "yes") == 0) {
637637+ ini_val_set_uint32 (val, 1);
638638+ return (0);
639639+ }
640640+ else if (strcmp (str, "no") == 0) {
633641 ini_val_set_uint32 (val, 0);
634642 return (0);
635643 }