From: nash Date: Wed, 20 Apr 2011 14:44:32 +0000 (+0000) Subject: Evas: Filter: Fix filter length assignment. X-Git-Tag: submit/trunk/20120815.174732~1648 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=237fe382a9d18c6ed8d4f514dee827b42e8a718d;p=profile%2Fivi%2Fevas.git Evas: Filter: Fix filter length assignment. Fun fact... this works on 64 bit systems... well mine anyway, but falls over in a horrible mess on 32bit systems. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58763 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/canvas/evas_filter.c b/src/lib/canvas/evas_filter.c index d9f6d23..76a9150 100644 --- a/src/lib/canvas/evas_filter.c +++ b/src/lib/canvas/evas_filter.c @@ -446,6 +446,7 @@ evas_filter_key_get(const Evas_Filter_Info *info, uint32_t *lenp) if (!key) return NULL; if (finfo->datasize) memcpy(key, info->data, finfo->datasize); key[finfo->datasize] = info->filter; + if (lenp) *lenp = len; return key; }