e wl pixmap - use id not xwin

copy & paste failure here. fix. found by asan.
@fix
This commit is contained in:
Carsten Haitzler 2019-08-07 16:51:41 +01:00
parent cbd507fb13
commit d4340cb168
1 changed files with 1 additions and 1 deletions

View File

@ -1129,7 +1129,7 @@ e_pixmap_alias(E_Pixmap *cp, E_Pixmap_Type type, ...)
id = va_arg(l, int64_t);
if (!aliases[type])
aliases[type] = eina_hash_int64_new(NULL);
cp2 = eina_hash_find(aliases[type], &xwin);
cp2 = eina_hash_find(aliases[type], &id);
if ((cp2) && (!cp)) cp2->alias = 0;
else if (cp) cp->alias = id;
eina_hash_set(aliases[type], &id, cp);