summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-06-06 14:11:13 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-06-06 15:33:24 -0700
commit98bb85ea5fd3e2b5e077d89c6bf6e16b8829481a (patch)
treee9d8954982ea649045668f6fc9da356c0ef797bc
parent725c5bbb58e6fb2c8775512d194367e3d677ee43 (diff)
mark window_id_format as a const string
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xwininfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwininfo.c b/xwininfo.c
index e9e0037..cad129c 100644
--- a/xwininfo.c
+++ b/xwininfo.c
@@ -107,7 +107,7 @@ static void Display_Size_Hints(Window);
static void Display_Window_Shape(Window);
static void Display_WM_Info(Window);
-static char *window_id_format = "0x%lx";
+static const char *window_id_format = "0x%lx";
#ifndef HAVE_STRLCAT
static size_t strlcat(char *dst, const char *src, size_t dstsize)