discomfitor pushed a commit to branch master.

http://git.enlightenment.org/apps/empc.git/commit/?id=1e8a11ad2f6d8b968c43d063c07fcabf7a0f8026

commit 1e8a11ad2f6d8b968c43d063c07fcabf7a0f8026
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Apr 1 14:55:27 2016 -0400

    reject non-printable characters when beginning filesystem search
    
     #okra
---
 src/bin/empc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/empc.c b/src/bin/empc.c
index dc8585c..d68efa5 100644
--- a/src/bin/empc.c
+++ b/src/bin/empc.c
@@ -1301,7 +1301,7 @@ filesystem_key(void *data EINA_UNUSED, Evas *e 
EINA_UNUSED, Evas_Object *obj, vo
         if (eina_list_count(filesystems) > 1)
           filesystem_prev();
      }
-   else if (ev->compose && ((ev->compose[0] != '\\') || ev->compose[1]))
+   else if (ev->compose && (((ev->compose[0] != '\\') && (ev->compose[0] >= ' 
')) || ev->compose[1]))
      {
         str = elm_entry_entry_get(filesystem_entry);
         if ((!str) || (!str[0]))

-- 


Reply via email to