mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 08:48:29 +00:00
Add NetBSD support
This commit is contained in:
parent
2fdc19e7a7
commit
23ae9dfceb
4020 changed files with 8955 additions and 8128 deletions
|
@ -958,7 +958,7 @@ static void DrawHr(struct Panel *p, const char *s) {
|
|||
long i, wp, ws, wl, wr;
|
||||
if (p->bottom - p->top < 1) return;
|
||||
wp = p->right - p->left;
|
||||
ws = strwidth(s);
|
||||
ws = strwidth(s, 0);
|
||||
wl = wp / 4 - ws / 2;
|
||||
wr = wp - (wl + ws);
|
||||
for (i = 0; i < wl; ++i) AppendWide(&p->lines[0], u'─');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue