Constified some variables.
This commit is contained in:
parent
7409bb892a
commit
fa689d8b38
|
@ -752,7 +752,7 @@ find_win (Display *dpy, Window id)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *backgroundProps[] = {
|
static const char *backgroundProps[] = {
|
||||||
"_XROOTPMAP_ID",
|
"_XROOTPMAP_ID",
|
||||||
"_XSETROOT_ID",
|
"_XSETROOT_ID",
|
||||||
0,
|
0,
|
||||||
|
@ -1734,7 +1734,7 @@ static int
|
||||||
error (Display *dpy, XErrorEvent *ev)
|
error (Display *dpy, XErrorEvent *ev)
|
||||||
{
|
{
|
||||||
int o;
|
int o;
|
||||||
char *name = 0;
|
const char *name = 0;
|
||||||
|
|
||||||
if (should_ignore (dpy, ev->serial))
|
if (should_ignore (dpy, ev->serial))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue