commit 54f52c5c1aa9be7536e48d8eee937b39dc1d8988 parent 8b85c4559700796f70600e2a8bdb202f39596a57 Author: Rob King <jking@deadpixi.com> Date: Sun, 28 Jul 2019 22:35:25 -0500 Style fix. Diffstat:
| M | mtm.c | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/mtm.c b/mtm.c @@ -537,8 +537,10 @@ HANDLER(print) /* Print a character to the terminal */ y -= tos; } - w = (w < MAXMAP && n->gc[w])? n->gc[w] : w; + if (w < MAXMAP && n->gc[w]) + w = n->gc[w]; n->repc = w; + if (x == mx - wcwidth(w)){ s->xenl = true; wins_nwstr(win, &w, 1);