FreeBSD Bugzilla – Attachment 32319 Details for
Bug 53454
wrong sample code in manpage of wcwidth(3)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
wcwidth.3-patch
wcwidth.3-patch (text/plain; charset=us-ascii), 316 bytes, created by
Marc Silver
on 2004-02-03 13:34:28 UTC
(
hide
)
Description:
wcwidth.3-patch
Filename:
MIME Type:
Creator:
Marc Silver
Created:
2004-02-03 13:34:28 UTC
Size:
316 bytes
patch
obsolete
>--- wcwidth.3-orig Tue Feb 3 15:28:07 2004 >+++ wcwidth.3 Tue Feb 3 15:28:31 2004 >@@ -67,9 +67,9 @@ > while ((ch = getwchar()) != WEOF) { > if ((w = wcwidth(ch)) > 0) > column += w; >- if (column >= 20) { >+ if (column > 20) { > putwchar(L'\en'); >- column = 0; >+ column = w; > } > putwchar(ch); > if (ch == L'\en')
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 Raw
Actions:
View
Attachments on
bug 53454
: 32319