summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEitan Adler <lists@eitanadler.com>2011-01-28 00:06:20 -0500
committerAdam Jackson <ajax@redhat.com>2011-01-28 00:06:20 -0500
commit03050fcce76cd3238f1cd15fb2f2298abda53727 (patch)
tree31546e5536e1228a00a98a18cad0465631b194fd
parent394f55099bbca6a23073ca64d97973bdc2287ce7 (diff)
Print pixel colors in hex not decimal
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--xset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xset.c b/xset.c
index e6f9474..f41dbb5 100644
--- a/xset.c
+++ b/xset.c
@@ -1454,7 +1454,7 @@ query(Display *dpy)
printf(" timeout: %d cycle: %d\n", timeout, interval);
printf("Colors:\n");
- printf(" default colormap: 0x%lx BlackPixel: %ld WhitePixel: %ld\n",
+ printf(" default colormap: 0x%lx BlackPixel: 0x%lx WhitePixel: 0x%lx\n",
DefaultColormap(dpy, scr), BlackPixel(dpy, scr), WhitePixel(dpy,
scr));