aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acme
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/acme')
-rw-r--r--src/cmd/acme/rows.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/acme/rows.c b/src/cmd/acme/rows.c
index 51f3e1c5..31322f8a 100644
--- a/src/cmd/acme/rows.c
+++ b/src/cmd/acme/rows.c
@@ -269,6 +269,9 @@ rowtype(Row *row, Rune r, Point p)
Window *w;
Text *t;
+ if(r == 0)
+ r = Runeerror;
+
clearmouse();
qlock(&row->lk);
if(bartflag)