Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_fm.c 


Log Message:
This should be correct file path.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm.c,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -3 -r1.122 -r1.123
--- e_fm.c      3 Jan 2007 20:13:43 -0000       1.122
+++ e_fm.c      3 Jan 2007 20:18:53 -0000       1.123
@@ -3503,16 +3503,14 @@
             for (l = sl, i = 0; l; l = l->next, i++)
               {
                  ici = l->data;
-                 /* FIXME: URI - needs to be file:/..... (can't remember 1 or 
2 /'s) */
-                 /* file:///path is correct file://<host>/<path> with null 
<host> */
                  if (ici->pseudo_link)
-                   snprintf(buf, sizeof(buf), "%s/%s", ici->pseudo_dir, 
ici->file);
+                   snprintf(buf, sizeof(buf), "file://%s/%s", ici->pseudo_dir, 
ici->file);
                  else
                    {
                       if (!strcmp(realpath, "/"))
-                        snprintf(buf, sizeof(buf), "/%s", ici->file);
+                        snprintf(buf, sizeof(buf), "file:///%s", ici->file);
                       else
-                        snprintf(buf, sizeof(buf), "%s/%s", realpath, 
ici->file);
+                        snprintf(buf, sizeof(buf), "file://%s/%s", realpath, 
ici->file);
                    }
                  fsel = evas_list_append(fsel, strdup(buf));
               }



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to