actually show errors when they are there... and fix 1 :)
SVN revision: 15763
This commit is contained in:
parent
890079e93f
commit
cc41d74679
|
@ -64,9 +64,9 @@ typedef struct _E_Rect E_Rect;
|
|||
#define E_INSIDE(x, y, xx, yy, ww, hh) (((x) < ((xx) + (ww))) && ((y) < ((yy) + (hh))) && ((x) >= (xx)) && ((y) >= (yy)))
|
||||
#define E_CONTAINS(x, y, w, h, xx, yy, ww, hh) (((xx) >= (x)) && (((x) + (w)) <= ((xx) + (ww))) && ((yy) >= (y)) && (((y) + (h)) <= ((yy) + (hh))))
|
||||
#define E_SPANS_COMMON(x1, w1, x2, w2) (!((((x2) + (w2)) <= (x1)) || ((x2) >= ((x1) + (w1)))))
|
||||
#define E_REALLOC(p, s, n) p = realloc(p, sizeof(s) * n)
|
||||
#define E_NEW(s, n) calloc(n, sizeof(s))
|
||||
#define E_NEW_BIG(s, n) malloc(n * sizeof(s))
|
||||
#define E_REALLOC(p, s, n) p = (s *)realloc(p, sizeof(s) * n)
|
||||
#define E_NEW(s, n) (s *)calloc(n, sizeof(s))
|
||||
#define E_NEW_BIG(s, n) (s *)malloc(n * sizeof(s))
|
||||
#define E_FREE(p) { if (p) {free(p); p = NULL;} }
|
||||
|
||||
#define E_REMOTE_OPTIONS 1
|
||||
|
|
|
@ -2132,7 +2132,7 @@ break;
|
|||
eb = e_config_binding_mouse_match(&bind);
|
||||
if (!eb)
|
||||
{
|
||||
eb = E_NEW(E_Config_Binding_Key, 1);
|
||||
eb = E_NEW(E_Config_Binding_Mouse, 1);
|
||||
e_config->mouse_bindings = evas_list_append(e_config->mouse_bindings, eb);
|
||||
eb->context = bind.context;
|
||||
eb->button = bind.button;
|
||||
|
|
Loading…
Reference in New Issue