hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=2927b6a37990aec0aa9b325a4727bd11ec526986

commit 2927b6a37990aec0aa9b325a4727bd11ec526986
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Tue Aug 25 13:10:33 2015 +0900

    theme: fix theme file path parsing issue on windows.
    
    ':' is usually regarded as the delimetr for new theme path
    but it uses to look up the drive, ie, c: on windows, on the other hand.
    this patch fixes to determine wheter ':' is used for drive name or 
delimeter.
    
    @fix
---
 src/lib/elm_theme.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/lib/elm_theme.c b/src/lib/elm_theme.c
index 3e9f90e..296bfb9 100644
--- a/src/lib/elm_theme.c
+++ b/src/lib/elm_theme.c
@@ -387,6 +387,13 @@ _elm_theme_parse(Elm_Theme *th, const char *theme)
                   eina_strbuf_append_char(buf, ':');
                   pe += 2;
                }
+             else if ((pe[0] == ':') && (pe[1] == '/'))
+               {
+                  eina_strbuf_append_char(buf, *pe);
+                  pe++;
+                  eina_strbuf_append_char(buf, *pe);
+                  pe++;
+               }
              else if ((*pe == ':') || (!*pe))
                { // p -> pe == 'name:'
                   if (pe > p)

-- 


Reply via email to