diff options
Diffstat (limited to 'src/libframe')
-rw-r--r-- | src/libframe/frbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libframe/frbox.c b/src/libframe/frbox.c index beb37c16..eddb4fba 100644 --- a/src/libframe/frbox.c +++ b/src/libframe/frbox.c @@ -116,7 +116,7 @@ void chopbox(Frame *f, Frbox *b, int n) /* drop first n chars; no allocation done */ { char *p; - + if(b->nrune<0 || b->nrune<n) drawerror(f->display, "chopbox"); p = (char*)runeindex(b->ptr, n); |