diff options
author | rsc <devnull@localhost> | 2004-03-05 05:58:48 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-03-05 05:58:48 +0000 |
commit | 8c6f0e8ab423f508fc0ce0532c1006b13fc35089 (patch) | |
tree | 7b6447a3f5c0656fb2a505364bc3b44fa3396b18 /src/libframe | |
parent | 15680d56a6c6e15921d958aa6006825c2cd20bf8 (diff) | |
download | plan9port-8c6f0e8ab423f508fc0ce0532c1006b13fc35089.tar.gz plan9port-8c6f0e8ab423f508fc0ce0532c1006b13fc35089.tar.bz2 plan9port-8c6f0e8ab423f508fc0ce0532c1006b13fc35089.zip |
Small bug fixes.
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); |