projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d93aa68
)
Elm glayer: Fixed condition based on uninit value error.
author
tasn
<tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 18 Oct 2011 08:58:33 +0000
(08:58 +0000)
committer
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Mon, 24 Oct 2011 09:24:14 +0000
(18:24 +0900)
Init structure fields (pe event) to 0.
Spank spank, you can't assume the passed pointer event is initialized.
git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@64141
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/elm_gesture_layer.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_gesture_layer.c
b/src/lib/elm_gesture_layer.c
index
cae6f13
..
9e72929
100644
(file)
--- a/
src/lib/elm_gesture_layer.c
+++ b/
src/lib/elm_gesture_layer.c
@@
-2878,6
+2878,7
@@
_make_pointer_event(void *data, void *event_info,
Widget_Data *wd = elm_widget_data_get(data);
if (!wd) return EINA_FALSE;
+ memset(pe, '\0', sizeof(*pe));
switch (event_type)
{
case EVAS_CALLBACK_MOUSE_DOWN: