comparison th_config.c @ 160:a69764b4305f

Simplify.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 09 Feb 2015 04:18:18 +0200
parents fc914ff7a9b8
children a2cd862315c5
comparison
equal deleted inserted replaced
159:fc914ff7a9b8 160:a69764b4305f
611 else if (VISEND(c)) 611 else if (VISEND(c))
612 { 612 {
613 BOOL tmpBool = FALSE; 613 BOOL tmpBool = FALSE;
614 614
615 // End of boolean parsing 615 // End of boolean parsing
616 switch (tmpCh) 616 switch (th_toupper(tmpCh))
617 { 617 {
618 case 'Y': 618 case 'Y':
619 case 'y':
620 case 'T': 619 case 'T':
621 case 't':
622 case '1': 620 case '1':
623 tmpBool = TRUE; 621 tmpBool = TRUE;
624 break; 622 break;
625 623
626 case 'N': 624 case 'N':
627 case 'n':
628 case 'F': 625 case 'F':
629 case 'f':
630 case '0': 626 case '0':
631 tmpBool = FALSE; 627 tmpBool = FALSE;
632 break; 628 break;
633 629
634 default: 630 default: