chiark
/
gitweb
/
~mdw
/
xtoys
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xqueryptr.c: Add new program to interrogate the pointer position.
[xtoys]
/
libxatom.c
diff --git
a/libxatom.c
b/libxatom.c
index 3bca18f2f3b2f2b9bca912201dcbc83a0a2f3fe6..5dea9efb9462bdba589ad432eab93cae276b11a9 100644
(file)
--- a/
libxatom.c
+++ b/
libxatom.c
@@
-82,7
+82,7
@@
Atom xatom_get(Display *d, Window w, Atom p)
&type, &fmt, /* Actual type and format */
&n, &left, /* Amount read, and bytes left */
&buf) /* Where to put the buffer */
&type, &fmt, /* Actual type and format */
&n, &left, /* Amount read, and bytes left */
&buf) /* Where to put the buffer */
-
!= Success ||
+ != Success ||
type != XA_ATOM ||
n < 1 || fmt < 32)
return (None);
type != XA_ATOM ||
n < 1 || fmt < 32)
return (None);