ecore_x_window_prop.c:

- Bad pointer dereferencing fixed. Surprised this wasn't caught earlier


SVN revision: 8331
This commit is contained in:
xcomputerman 2004-01-10 19:56:44 +00:00 committed by xcomputerman
parent f8823f65d3
commit 814b888746
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ ecore_x_window_prop_property_get(Ecore_X_Window win, Ecore_X_Atom property, Ecor
for (i = 0; i < num_ret; i++)
switch (size) {
case 8:
*data[i] = prop_ret[i];
(*data)[i] = prop_ret[i];
break;
case 16:
((uint16_t *) *data)[i] = ((uint16_t *) prop_ret)[i];