1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 05:48:01 +01:00

WINGs: removed prev_y variable not used

This commit is contained in:
Rodolfo García Peñas (kix)
2011-10-18 10:44:23 +02:00
committed by Carlos R. Mafra
parent 744490c0b2
commit 9a67c55fa0

View File

@@ -617,7 +617,7 @@ static void paintText(Text * tPtr)
TextBlock *tb; TextBlock *tb;
WMFont *font; WMFont *font;
char *text; 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; WMScreen *scr = tPtr->view->screen;
Display *dpy = tPtr->view->screen->display; Display *dpy = tPtr->view->screen->display;
Window win = tPtr->view->window; 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; len = tb->sections[s].end - tb->sections[s].begin;
text = &(tb->text[tb->sections[s].begin]); text = &(tb->text[tb->sections[s].begin]);
y = tb->sections[s].y - tPtr->vpos; y = tb->sections[s].y - tPtr->vpos;