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); 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); IpcPrintf("Screen %d size %dx%d\n", VRoot.scr, VRoot.w, VRoot.h);
} }

View File

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