Cosmetics.

SVN revision: 28469
This commit is contained in:
Kim Woelders 2007-02-25 04:13:37 +00:00
parent 814241cc54
commit 3305143854
2 changed files with 5 additions and 5 deletions

View File

@ -273,7 +273,7 @@ IPC_Screen(const char *params, Client * c __UNUSED__)
{
ScreenShowInfo(p);
}
else if (!p || !strncmp(param, "size", 2))
else if (!strncmp(param, "size", 2))
{
IpcPrintf("Screen %d size %dx%d\n", VRoot.scr, VRoot.w, VRoot.h);
}

View File

@ -1638,8 +1638,8 @@ EDisplayClose(void)
#else
XCloseDisplay(disp);
#endif
XSetErrorHandler((XErrorHandler) NULL);
XSetIOErrorHandler((XIOErrorHandler) NULL);
XSetErrorHandler(NULL);
XSetIOErrorHandler(NULL);
disp = NULL;
}
@ -1653,8 +1653,8 @@ EDisplayDisconnect(void)
#else
close(ConnectionNumber(disp));
#endif
XSetErrorHandler((XErrorHandler) NULL);
XSetIOErrorHandler((XIOErrorHandler) NULL);
XSetErrorHandler(NULL);
XSetIOErrorHandler(NULL);
disp = NULL;
}