projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8809ce8
)
Evas: Filter: Fix filter length assignment.
author
Brett Nash
<nash@nash.id.au>
Wed, 20 Apr 2011 14:44:32 +0000
(14:44 +0000)
committer
Brett Nash
<nash@nash.id.au>
Wed, 20 Apr 2011 14:44:32 +0000
(14:44 +0000)
Fun fact... this works on 64 bit systems... well mine anyway, but falls over
in a horrible mess on 32bit systems.
SVN revision: 58763
legacy/evas/src/lib/canvas/evas_filter.c
patch
|
blob
|
history
diff --git
a/legacy/evas/src/lib/canvas/evas_filter.c
b/legacy/evas/src/lib/canvas/evas_filter.c
index
d9f6d23
..
76a9150
100644
(file)
--- a/
legacy/evas/src/lib/canvas/evas_filter.c
+++ b/
legacy/evas/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;
}