projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fad2da
)
final fixes?
author
Mikael Magnusson
<mikachu@comhem.se>
Sat, 8 Oct 2005 09:29:27 +0000
(09:29 +0000)
committer
Mikael Magnusson
<mikachu@comhem.se>
Sat, 8 Oct 2005 09:29:27 +0000
(09:29 +0000)
openbox/prop.c
patch
|
blob
|
history
diff --git
a/openbox/prop.c
b/openbox/prop.c
index fe21bc441884a9851e2ee0309db42137d26d3543..d843e69dc5ea0473d3e6c409990de634665dd19b 100644
(file)
--- a/
openbox/prop.c
+++ b/
openbox/prop.c
@@
-206,7
+206,7
@@
static gboolean get_prealloc(Window win, Atom prop, Atom type, gint size,
data[i] = xdata[i];
break;
case 16:
- ((gu
short
*)data)[i] = ((gushort*)xdata)[i];
+ ((gu
int16
*)data)[i] = ((gushort*)xdata)[i];
break;
case 32:
((guint32*)data)[i] = ((gulong*)xdata)[i];
@@
-245,7
+245,7
@@
static gboolean get_all(Window win, Atom prop, Atom type, gint size,
(*data)[i] = xdata[i];
break;
case 16:
- ((gu
short
*)*data)[i] = ((gushort*)xdata)[i];
+ ((gu
int16
*)*data)[i] = ((gushort*)xdata)[i];
break;
case 32:
((guint32*)*data)[i] = ((gulong*)xdata)[i];