jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=8b3162c8de36ae058412c28f4061d7737c3dab44

commit 8b3162c8de36ae058412c28f4061d7737c3dab44
Author: Daniel Zaoui <daniel.za...@samsung.com>
Date:   Mon Nov 9 14:29:13 2015 +0200

    Undo/redo: comment property comparison
    
    The removed property pointer is still used in editor.c, which leads to a
    crash of Erigo.
    This will be uncommentable when eid will be used for properties.
---
 src/lib/undoredo.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/undoredo.c b/src/lib/undoredo.c
index 6c30eff..2ac95f5 100644
--- a/src/lib/undoredo.c
+++ b/src/lib/undoredo.c
@@ -372,6 +372,7 @@ memento_finalize(Memento *memento)
                        break;
                     }
                }
+#if 0
              if (cmd->type == MEMENTO_PROPERTY)
                {
                   if (!prop_cmp(cmd->old_ptr, cmd->new_ptr))
@@ -392,6 +393,7 @@ memento_finalize(Memento *memento)
                        break;
                     }
                }
+#endif
           }
         if (cmd_del)
           {

-- 


Reply via email to