diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-08-01 19:15:37 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-08-01 19:15:37 +0000 |
commit | 3b1918496ea4b20ec61287ffbb9e1573e950fdcc (patch) | |
tree | be72121879ccae348690932106b378e5b2f92868 /dzen.h | |
parent | e5a5085f0b16b00e367b3c0428add2829dd7f7b9 (diff) | |
download | dzen-3b1918496ea4b20ec61287ffbb9e1573e950fdcc.tar.gz dzen-3b1918496ea4b20ec61287ffbb9e1573e950fdcc.zip |
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
Diffstat (limited to 'dzen.h')
-rw-r--r-- | dzen.h | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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 */ |