summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore/efl_boolean_model.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore/efl_boolean_model.c b/src/lib/ecore/efl_boolean_model.c
index 5ac0dcaab5..552baf1096 100644
--- a/src/lib/ecore/efl_boolean_model.c
+++ b/src/lib/ecore/efl_boolean_model.c
@@ -282,8 +282,8 @@ _child_removed(void *data, const Efl_Event *event)
282 // Manually shift all the byte in the buffer 282 // Manually shift all the byte in the buffer
283 while (offset < byte_length) 283 while (offset < byte_length)
284 { 284 {
285 lookup->buffer[offset] = (lookup->buffer[offset] & upper_mask) | 285 lookup->buffer[offset] = ((lookup->buffer[offset] & upper_mask) >> 1) |
286 ((lookup->buffer[offset] & lower_mask) << 1); 286 (lookup->buffer[offset] & lower_mask);
287 if (offset + 1 < byte_length) 287 if (offset + 1 < byte_length)
288 lookup->buffer[offset] |= lookup->buffer[offset + 1] & 0x1; 288 lookup->buffer[offset] |= lookup->buffer[offset + 1] & 0x1;
289 289