[vlc-commits] Windrive: use TEXT macro as applicable

Jean-Baptiste Kempf git at videolan.org
Mon Jan 14 17:46:59 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 14 18:46:30 2013 +0100| [eb9756d7390fcd9c74412c21f900120d6b8cb871] | committer: Jean-Baptiste Kempf

Windrive: use TEXT macro as applicable

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

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

diff --git a/modules/services_discovery/windrive.c b/modules/services_discovery/windrive.c
index a050338..bed020e 100644
--- a/modules/services_discovery/windrive.c
+++ b/modules/services_discovery/windrive.c
@@ -58,7 +58,7 @@ static int Open (vlc_object_t *obj)
 
     LONG drives = GetLogicalDrives ();
     char mrl[12] = "file:///A:/", name[3] = "A:";
-    TCHAR path[4] = "A:\\";
+    TCHAR path[4] = TEXT("A:\\");
 
     for (char d = 0; d < 26; d++)
     {



More information about the vlc-commits mailing list