From: David Levine Date: Sat, 25 Oct 2014 23:54:50 +0000 (-0500) Subject: Fixed dst format escape to return 1 instead of 16, to agree with its X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/19d2ce8fb85c0b52bafa37db46f8b4a3f05c87a3 Fixed dst format escape to return 1 instead of 16, to agree with its documentation. --- diff --git a/sbr/fmt_scan.c b/sbr/fmt_scan.c index 08405da1..99b83448 100644 --- a/sbr/fmt_scan.c +++ b/sbr/fmt_scan.c @@ -832,7 +832,7 @@ fmt_scan (struct format *format, charstring_t scanlp, int width, int *dat, value = -1; break; case FT_LV_DST: - value = fmt->f_comp->c_tws->tw_flags & TW_DST; + value = fmt->f_comp->c_tws->tw_flags & TW_DST ? 1 : 0; break; case FT_LS_822DATE: str = dasctime (fmt->f_comp->c_tws , TW_ZONE);