From 3b1918496ea4b20ec61287ffbb9e1573e950fdcc Mon Sep 17 00:00:00 2001 From: gotmor Date: Wed, 1 Aug 2007 19:15:37 +0000 Subject: release 0.7.5 fixed memory leak added in-text commands: ^tw() ^c() ^p() added gadgets: kittscanner gdbar gcpubar git-svn-id: http://dzen.googlecode.com/svn/trunk@149 f2baff5b-bf2c-0410-a398-912abdc3d8b2 --- dzen.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'dzen.h') diff --git a/dzen.h b/dzen.h index 911dcab..9dec364 100644 --- a/dzen.h +++ b/dzen.h @@ -18,7 +18,7 @@ #define ALIGNLEFT 1 #define ALIGNRIGHT 2 -#define MIN_BUF_SIZE 512 +#define MIN_BUF_SIZE 524 #define MAX_LINE_LEN 512 /* gui data structures */ @@ -38,12 +38,6 @@ struct Fnt { int height; }; -struct _Sline { - unsigned long fg; - unsigned long bg; - char * text; -}; - /* title window */ struct TW { int x, y, width, height; @@ -63,8 +57,7 @@ struct SW { Drawable *drawable; /* input buffer */ - /* char **tbuf; */ - Sline *tbuf; + char **tbuf; int tsize; int tcnt; /* line fg colors */ -- cgit v1.2.3-54-g00ecf