projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ftp://ftp.krokus.ru/pub/OpenBSD/distfiles/xscreensaver-4.06.tar.gz
[xscreensaver]
/
utils
/
grabclient.c
diff --git
a/utils/grabclient.c
b/utils/grabclient.c
index 4155d8ff2a6370cf22848511b4e86d17dcda1add..0acb2853985a962091fe3955e354c83d4d52ab19 100644
(file)
--- a/
utils/grabclient.c
+++ b/
utils/grabclient.c
@@
-137,7
+137,7
@@
grab_screen_image (Screen *screen, Window window)
exit (1);
}
- sprintf (id, "0x%x", (unsigned long) window);
+ sprintf (id, "0x%
l
x", (unsigned long) window);
cmd = (char *) malloc (strlen(grabber) + strlen(id) + 1);
/* Needn't worry about buffer overflows here, because the buffer is