From 01123bae075d6d472eaf3806556ce08ca6d6a3cd Mon Sep 17 00:00:00 2001 From: gotmor Date: Mon, 18 Jun 2007 00:04:30 +0000 Subject: code cleanups, thanks 'mauke' git-svn-id: http://dzen.googlecode.com/svn/trunk@106 f2baff5b-bf2c-0410-a398-912abdc3d8b2 --- dzen.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dzen.h') diff --git a/dzen.h b/dzen.h index 089764a..1408045 100644 --- a/dzen.h +++ b/dzen.h @@ -63,7 +63,7 @@ struct SW { Drawable *drawable; /* input buffer */ - //char **tbuf; + /* char **tbuf; */ Sline *tbuf; int tsize; int tcnt; @@ -90,9 +90,9 @@ struct DZEN { TWIN title_win; SWIN slave_win; - char *fnt; - char *bg; - char *fg; + const char *fnt; + const char *bg; + const char *fg; int line_height; Display *dpy; @@ -127,7 +127,7 @@ extern void drawtext(const char *text, extern long getcolor(const char *colstr); /* returns color of colstr */ extern void setfont(const char *fontstr); /* sets global font */ extern unsigned int textw(const char *text); /* returns width of text in px */ -extern void drawheader(char *text); +extern void drawheader(const char *text); extern void drawbody(char *text); /* util.c */ -- cgit v1.2.3-54-g00ecf