diff options
| author | Quentin Carbonneaux | 2014-08-13 15:44:26 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux | 2014-08-13 15:44:26 -0400 |
| commit | e103660231cc53a62eacf88d27f544947c8d117b (patch) | |
| tree | 9d5f0f381043e05602d1ed602cadc09ad9451e7c | |
| parent | 21d384d25d8101f74d48c9bf6bb489c9452bade4 (diff) | |
bug fix in win_set_cursor
| -rw-r--r-- | win.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -204,7 +204,7 @@ win_set_cursor(W *w, int x, int y) return; p = w->l[y]; - lx = 0; + lx = w->gr.x; for (; p < w ->l[y+1] - 1; p++) { lx += runewidth(buf_get(&w->eb->b, p), lx); if (lx + HMargin >= x) |
