summaryrefslogtreecommitdiff
path: root/drw.c
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-08-05 20:16:53 -0500
committerzachir <zachir@librem.one>2022-08-05 20:16:53 -0500
commit239da0442b6382d779bfb0718f677ab866893528 (patch)
treecf2e35a9cd41f07409cc42e91f079451dee7f3a9 /drw.c
parent6ff3590af0cdf188c48ce952b276f24557f56d12 (diff)
drw: initialize ew to 0
Diffstat (limited to 'drw.c')
-rw-r--r--drw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drw.c b/drw.c
index 4cdbcbe..db9284c 100644
--- a/drw.c
+++ b/drw.c
@@ -253,7 +253,7 @@ drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, unsigned int lp
{
char buf[1024];
int ty;
- unsigned int ew;
+ unsigned int ew=0;
XftDraw *d = NULL;
Fnt *usedfont, *curfont, *nextfont;
size_t i, len;