nikawhite pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f967c4dea5be54c3ea33d33603679b1bac983a3f

commit f967c4dea5be54c3ea33d33603679b1bac983a3f
Author: Mykyta Biliavskyi <[email protected]>
Date:   Tue Dec 27 10:17:43 2016 +0200

    Fileselector: make parse path string windows platform support.
    
    On windows platform file path contain '\\' instead of '/'.
    Test plan:
       - on windows platform launch elemntary_test -to fileselector.
       - type something into search entry.
    
    @fix
---
 src/lib/elementary/elc_fileselector.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elementary/elc_fileselector.c 
b/src/lib/elementary/elc_fileselector.c
index 82c2999..de2b623 100644
--- a/src/lib/elementary/elc_fileselector.c
+++ b/src/lib/elementary/elc_fileselector.c
@@ -506,11 +506,11 @@ _filter_child(Elm_Fileselector_Data* sd,
      {
         strncpy(temp_path, path, sizeof(temp_path) - 1);
         temp_path[sizeof(temp_path) - 1] = 0;
-        pch = strchr(temp_path, '/');
+        pch = strchr(temp_path, EINA_PATH_SEP_C);
         while (pch != NULL)
           {
              temp = pch;
-             pch = strchr(pch + 1, '/');
+             pch = strchr(pch + 1, EINA_PATH_SEP_C);
           }
         temp++;
         if ((temp) && (sd->search_string) &&

-- 


Reply via email to