Constified some variables.
authorTilman Sauerbeck <tilman@code-monkey.de>
Mon, 12 Mar 2007 13:24:33 +0000 (14:24 +0100)
committerTilman Sauerbeck <tilman@code-monkey.de>
Mon, 12 Mar 2007 13:24:33 +0000 (14:24 +0100)
xcompmgr.c

index 84f2703..77dc9db 100644 (file)
@@ -752,7 +752,7 @@ find_win (Display *dpy, Window id)
     return 0;
 }
 
-static char *backgroundProps[] = {
+static const char *backgroundProps[] = {
     "_XROOTPMAP_ID",
     "_XSETROOT_ID",
     0,
@@ -1734,7 +1734,7 @@ static int
 error (Display *dpy, XErrorEvent *ev)
 {
     int            o;
-    char    *name = 0;
+    const char    *name = 0;
     
     if (should_ignore (dpy, ev->serial))
        return 0;