narrow scope of variable x
This commit is contained in:
parent
79e5cec364
commit
d98d0940c0
@ -146,7 +146,6 @@ CreateIconWindow(TwmWindow* win, int def_x, int def_y)
|
||||
unsigned long valuemask; /* mask for create windows */
|
||||
XSetWindowAttributes attributes; /* attributes for create windows */
|
||||
Pixmap pm = None; /* tmp pixmap variable */
|
||||
int x;
|
||||
|
||||
|
||||
FB(win->iconc.fore, win->iconc.back);
|
||||
@ -337,7 +336,7 @@ CreateIconWindow(TwmWindow* win, int def_x, int def_y)
|
||||
if (pm != None &&
|
||||
(! (win->wmhints && win->wmhints->flags & IconWindowHint)))
|
||||
{
|
||||
int y;
|
||||
int x, y;
|
||||
|
||||
y = 0;
|
||||
if (win->icon_w_width == win->icon_width)
|
||||
|
Loading…
Reference in New Issue
Block a user