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:
fc21244
)
ecore: fix some aliasing warning.
author
Cedric BAIL
<cedric.bail@samsung.com>
Fri, 22 Mar 2013 11:25:37 +0000
(20:25 +0900)
committer
Cedric BAIL
<cedric.bail@samsung.com>
Fri, 22 Mar 2013 11:25:37 +0000
(20:25 +0900)
src/lib/ecore_win32/ecore_win32.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_win32/ecore_win32.c
b/src/lib/ecore_win32/ecore_win32.c
index
b571d74
..
3ee79d6
100644
(file)
--- a/
src/lib/ecore_win32/ecore_win32.c
+++ b/
src/lib/ecore_win32/ecore_win32.c
@@
-63,7
+63,6
@@
_ecore_win32_window_procedure(HWND window,
LPARAM data_param)
{
Ecore_Win32_Callback_Data *data;
- POINTS point;
DWORD coord;
data = (Ecore_Win32_Callback_Data *)malloc(sizeof(Ecore_Win32_Callback_Data));
@@
-75,9
+74,8
@@
_ecore_win32_window_procedure(HWND window,
data->data_param = data_param;
data->timestamp = GetMessageTime();
coord = GetMessagePos();
- point = MAKEPOINTS(coord);
- data->x = point.x;
- data->y = point.y;
+ data->x = GET_X_LPARAM(coord);
+ data->y = GET_Y_LPARAM(coord);
data->discard_ctrl = EINA_FALSE;
switch (data->message)