# HG changeset patch # User Matti Hamalainen # Date 1424354382 -7200 # Node ID 9a135386252055bb9b005c34e65894bf69b60407 # Parent 8e69e07e5aacb13e37b2b3bd5e896de6f3161a9c# Parent a06a87b771ce30e47f9ab9befb8db603da0eb9a8 Merged. diff -r 8e69e07e5aac -r 9a1353862520 th_string.c --- a/th_string.c Thu Feb 19 15:57:38 2015 +0200 +++ b/th_string.c Thu Feb 19 15:59:42 2015 +0200 @@ -577,6 +577,7 @@ BOOL th_get_boolean(const char *str, BOOL *value) { if (!th_strcasecmp(str, "yes") || + !th_strcasecmp(str, "on") || !th_strcasecmp(str, "true") || !th_strcasecmp(str, "1")) { @@ -585,6 +586,7 @@ } else if (!th_strcasecmp(str, "no") || + !th_strcasecmp(str, "off") || !th_strcasecmp(str, "false") || !th_strcasecmp(str, "0")) {