From 9a67c55fa0d7c2cf1f583bde6e188059b466093e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Tue, 18 Oct 2011 10:44:23 +0200 Subject: [PATCH] WINGs: removed prev_y variable not used --- WINGs/wtext.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/WINGs/wtext.c b/WINGs/wtext.c index ece4b398..827d19a8 100644 --- a/WINGs/wtext.c +++ b/WINGs/wtext.c @@ -617,7 +617,7 @@ static void paintText(Text * tPtr) TextBlock *tb; WMFont *font; char *text; - int len, y, c, s, done = False, prev_y = -23, dir /* 1 = down */ ; + int len, y, c, s, done = False, dir /* 1 = down */ ; WMScreen *scr = tPtr->view->screen; Display *dpy = tPtr->view->screen->display; Window win = tPtr->view->window; @@ -712,8 +712,6 @@ static void paintText(Text * tPtr) } } - prev_y = tb->sections[s]._y; - len = tb->sections[s].end - tb->sections[s].begin; text = &(tb->text[tb->sections[s].begin]); y = tb->sections[s].y - tPtr->vpos;