Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_entry.c 


Log Message:
- the embed test sends a 'return' as \n and a keypad return as 'KP_Enter'
  make sure we catch the \n

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_entry.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -3 -r1.55 -r1.56
--- ewl_entry.c 26 May 2006 17:25:59 -0000      1.55
+++ ewl_entry.c 27 May 2006 17:09:00 -0000      1.56
@@ -377,7 +377,8 @@
        else if ((!strcmp(event->keyname, "Return")) 
                        || (!strcmp(event->keyname, "KP_Return"))
                        || (!strcmp(event->keyname, "Enter"))
-                       || (!strcmp(event->keyname, "KP_Enter")))
+                       || (!strcmp(event->keyname, "KP_Enter"))
+                       || (!strcmp(event->keyname, "\n")))
        {
                if (!e->multiline)
                        ewl_callback_call(w, EWL_CALLBACK_VALUE_CHANGED);




-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to