summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-04-01 14:55:27 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-04-01 14:56:31 -0400
commit1e8a11ad2f6d8b968c43d063c07fcabf7a0f8026 (patch)
tree7e94a97535d2dc405c951837e97011ab1e78b19b /src
parentbd77f49f3c8eebffef3ee086a5abcfb038fe6d3c (diff)
reject non-printable characters when beginning filesystem search
#okra
Diffstat (limited to 'src')
-rw-r--r--src/bin/empc.c2
1 files changed, 1 insertions, 1 deletions
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
1301 if (eina_list_count(filesystems) > 1) 1301 if (eina_list_count(filesystems) > 1)
1302 filesystem_prev(); 1302 filesystem_prev();
1303 } 1303 }
1304 else if (ev->compose && ((ev->compose[0] != '\\') || ev->compose[1])) 1304 else if (ev->compose && (((ev->compose[0] != '\\') && (ev->compose[0] >= ' ')) || ev->compose[1]))
1305 { 1305 {
1306 str = elm_entry_entry_get(filesystem_entry); 1306 str = elm_entry_entry_get(filesystem_entry);
1307 if ((!str) || (!str[0])) 1307 if ((!str) || (!str[0]))