old C (gcc 2.95) fix -- no statements before variable declarations

svn path=/trunk/kdebase/kwin/; revision=392038
This commit is contained in:
Adriaan de Groot 2005-02-22 00:31:32 +00:00
parent 7eff49ed22
commit d3cf27c20c

View file

@ -2727,8 +2727,8 @@ main (int argc, char **argv)
}
else if (ev.xproperty.atom == titleHeightAtom)
{
printf("titleheight changed\n");
win * w = find_win(dpy, ev.xproperty.window);
printf("titleheight changed\n");
if (w)
{
printf("titleheight window found\n");