fixed Issue 282 : third try

git-svn-id: http://tint2.googlecode.com/svn/trunk@528 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-08-08 20:03:09 +00:00
parent 9feef39d6f
commit 937d7faa1f
4 changed files with 7 additions and 8 deletions

View File

@@ -171,7 +171,6 @@ void *server_get_property (Window win, Atom at, Atom type, int *num_results)
result = XGetWindowProperty(server.dsp, win, at, 0, 0x7fffffff, False, type, &type_ret, &format_ret, &nitems_ret, &bafter_ret, &prop_value);
// Send back resultcount
// it look some version of gcc doesn't do the cast. so we force it.
if (num_results) *num_results = (int)nitems_ret;
if (result == Success && prop_value) return prop_value;