[vlc-commits] file access: don't use PathIsNetworkPath in store app

Rafaël Carré git at videolan.org
Sat Apr 20 20:31:08 CEST 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Apr 20 17:19:31 2013 +0200| [38499f29ee0e16a3c38bdad148f17c36b4ed398c] | committer: Rafaël Carré

file access: don't use PathIsNetworkPath in store app

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=38499f29ee0e16a3c38bdad148f17c36b4ed398c
---

 modules/access/file.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/file.c b/modules/access/file.c
index 72ee567..97fa2af 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -112,7 +112,7 @@ static bool IsRemote (int fd)
 #else /* WIN32 || __OS2__ */
 static bool IsRemote (const char *path)
 {
-# if !defined(__OS2__)
+# if !defined(__OS2__) && !defined(WINAPI_FAMILY_APP)
     wchar_t *wpath = ToWide (path);
     bool is_remote = (wpath != NULL && PathIsNetworkPathW (wpath));
     free (wpath);



More information about the vlc-commits mailing list