FreeBSD Bugzilla – Attachment 148175 Details for
Bug 194291
grdc shows 12 AM at noon
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to let grdc show PM instead of AM during the 12 PM hour
grdc-noon-patch.diff (text/plain), 379 bytes, created by
mlsemon35
on 2014-10-10 18:17:20 UTC
(
hide
)
Description:
patch to let grdc show PM instead of AM during the 12 PM hour
Filename:
MIME Type:
Creator:
mlsemon35
Created:
2014-10-10 18:17:20 UTC
Size:
379 bytes
patch
obsolete
>--- grdc.c.orig 2014-09-29 10:11:51.411586771 -0400 >+++ grdc.c 2014-09-29 10:38:12.897502653 -0400 >@@ -150,8 +150,9 @@ > set(tm->tm_min/10, 14); > > if (t12) { >- if (tm->tm_hour > 12) { >- tm->tm_hour -= 12; >+ if (tm->tm_hour >= 12) { >+ if (tm->tm_hour > 12) >+ tm->tm_hour -= 12; > mvaddstr(YBASE + 5, XBASE + 52, "PM"); > } else { > if (tm->tm_hour == 0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194291
: 148175