1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-23 18:13:58 +00:00

more manifest constant work

SCCS-file: strftime.c
SCCS-SID: 7.52
This commit is contained in:
Arthur David Olson
1996-08-13 09:48:35 -04:00
committed by Paul Eggert
parent 8b174d5397
commit 046aaab6eb

View File

@ -160,13 +160,15 @@ label:
pt, ptlim);
continue;
case 'B':
pt = _add((t->tm_mon < 0 || t->tm_mon > 11) ?
pt = _add((t->tm_mon < 0 ||
t->tm_mon >= MONSPERYEAR) ?
"?" : Locale->month[t->tm_mon],
pt, ptlim);
continue;
case 'b':
case 'h':
pt = _add((t->tm_mon < 0 || t->tm_mon > 11) ?
pt = _add((t->tm_mon < 0 ||
t->tm_mon >= MONSPERYEAR) ?
"?" : Locale->mon[t->tm_mon],
pt, ptlim);
continue;
@ -263,7 +265,7 @@ label:
pt = _add("\n", pt, ptlim);
continue;
case 'p':
pt = _add((t->tm_hour >= 12) ?
pt = _add((t->tm_hour >= (HOURSPERDAY / 2)) ?
Locale->pm :
Locale->am,
pt, ptlim);