View | Details | Raw Unified | Return to bug 194291
Collapse All | Expand All

(-)grdc.c (-2 / +3 lines)
Lines 150-157 Link Here
150
		set(tm->tm_min/10, 14);
150
		set(tm->tm_min/10, 14);
151
151
152
		if (t12) {
152
		if (t12) {
153
			if (tm->tm_hour > 12) {
153
			if (tm->tm_hour >= 12) {
154
				tm->tm_hour -= 12;
154
				if (tm->tm_hour > 12)
155
					tm->tm_hour -= 12;
155
				mvaddstr(YBASE + 5, XBASE + 52, "PM");
156
				mvaddstr(YBASE + 5, XBASE + 52, "PM");
156
			} else {
157
			} else {
157
				if (tm->tm_hour == 0)
158
				if (tm->tm_hour == 0)

Return to bug 194291