aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2008-11-08 12:21:39 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2008-11-08 12:21:39 +0000
commit65338a7740c80561b4c321af739c94205698e749 (patch)
tree70d6fcf92e7b050f019fb580e630951e2cd69602
parent9a8644afd1f02af637ae6841164e6b2e4c6cdc2c (diff)
downloaddzen-65338a7740c80561b4c321af739c94205698e749.tar.gz
dzen-65338a7740c80561b4c321af739c94205698e749.zip
fixed free_buffer(), so that ^cs() will work again
git-svn-id: http://dzen.googlecode.com/svn/trunk@234 f2baff5b-bf2c-0410-a398-912abdc3d8b2
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 0654a84..0def10c 100644
--- a/main.c
+++ b/main.c
@@ -125,7 +125,7 @@ chomp(char *inbuf, char *outbuf, int start, int len) {
void
free_buffer(void) {
int i;
- for(i=0; i<dzen.slave_win.tsize; i++) {
+ for(i=0; i<dzen.slave_win.tcnt; i++) {
free(dzen.slave_win.tbuf[i]);
dzen.slave_win.tbuf[i] = NULL;
}