From a5bb83fc44899c52252c44cf71a921a820592b54 Mon Sep 17 00:00:00 2001 From: katherine Date: Fri, 20 Dec 2019 21:46:08 -0700 Subject: remove 1/0 from boolean --- src/calendar.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') diff --git a/src/calendar.c b/src/calendar.c index 4eabc12..f5bdc27 100644 --- a/src/calendar.c +++ b/src/calendar.c @@ -401,15 +401,6 @@ static bool sub_get_bool(struct state_s *s) sub_set_pos(s, sub_get_pos(s)); switch (tolower(getc(s->f))) { - case '1': - r = true; - s->col += 1; - break; - - case '0': - s->col += 1; - break; - case 't': if ( tolower(getc(s->f)) == 'r' && -- cgit v1.2.3