Removed debugging goo. - sam - An updated version of the sam text editor. | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 67c1cc4b58e0a6c9db64bc9d336a9dca8e41454b | |
parent 54cab828288a602a302fc981b4e9a1f2d3d42e38 | |
Author: Rob King <[email protected]> | |
Date: Fri, 23 Sep 2016 09:29:55 -0500 | |
Removed debugging goo. | |
Diffstat: | |
libframe/frbox.c | 1 - | |
1 file changed, 0 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/libframe/frbox.c b/libframe/frbox.c | |
@@ -118,7 +118,6 @@ chopbox(Frame *f, Frbox *b, int n) /* drop first n chars; … | |
if(b->nrune<0 || b->nrune<n) | |
berror("chopbox"); | |
memmove(b->a.ptr, runeindex(b->a.ptr, n), b->nrune - n); | |
- // XXX strcpy((char*)b->a.ptr, (char*)runeindex(b->a.ptr, n)); | |
b->nrune -= n; | |
b->a.ptr[b->nrune] = 0; | |
b->wid = strwidth(f->font, (char *)b->a.ptr); |