commit 120db204ed669fc251b84f12f11b797cfdf0066f parent 7407e778440741ec71350c5a38730ca139e5790e Author: ssnf <ssnf@ssnf.xyz> Date: Mon, 29 Sep 2025 08:51:09 +0000 feex bug Diffstat:
M | sim.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/sim.c b/sim.c @@ -442,6 +442,8 @@ curpos(void) { ulong i, wx; + if (!fr->n) + return 0; wx = 0; for (i = fr->a[fr->cur].p0; i < f->dot.p1; ++i) wx += runesiz(f->s.s[i], wx);