Mercurial > hg > th-libs
changeset 160:a69764b4305f
Simplify.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 09 Feb 2015 04:18:18 +0200 |
parents | fc914ff7a9b8 |
children | a765a51cbd5c |
files | th_config.c |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/th_config.c Sat Feb 07 02:55:54 2015 +0200 +++ b/th_config.c Mon Feb 09 04:18:18 2015 +0200 @@ -613,20 +613,16 @@ BOOL tmpBool = FALSE; // End of boolean parsing - switch (tmpCh) + switch (th_toupper(tmpCh)) { case 'Y': - case 'y': case 'T': - case 't': case '1': tmpBool = TRUE; break; case 'N': - case 'n': case 'F': - case 'f': case '0': tmpBool = FALSE; break;