application/main.c

changeset 12
fe94e0fb9ef3
parent 10
6f263196f916
child 14
e2fd132ab781
--- a/application/main.c	Fri Mar 28 20:03:49 2014 +0100
+++ b/application/main.c	Sat Mar 29 12:15:39 2014 +0100
@@ -83,13 +83,13 @@
 void action_undo(UiEvent *event, void *data) {
     printf("undo\n");
     TestWindowData *wd = event->window;
-    //ui_text_undo(&wd->text);
+    ui_text_undo(&wd->text);
 }
 
 void action_redo(UiEvent *event, void *data) {
     printf("redo\n");
     TestWindowData *wd = event->window;
-    //ui_text_redo(&wd->text);
+    ui_text_redo(&wd->text);
 }
 
 

mercurial