[vlc-devel] commit: Fix directory separator ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Jul 2 21:17:51 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Jul  2 22:16:14 2008 +0300| [bdeabc365a1ea8d6f95f8a57f1889922c2994e82]

Fix directory separator

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

 src/config/dirs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/config/dirs.c b/src/config/dirs.c
index dbfeada..a4ae46f 100644
--- a/src/config/dirs.c
+++ b/src/config/dirs.c
@@ -80,7 +80,7 @@ const char *config_GetConfDir( void )
 
     if( *path == '\0' )
     {
-        snprintf( path, sizeof( path ), "%s/share", /* FIXME: Duh? */
+        snprintf( path, sizeof( path ), "%s"DIR_SEP"share", /* FIXME: Duh? */
                   vlc_global()->psz_vlcpath );
         path[sizeof( path ) - 1] = '\0';
     }




More information about the vlc-devel mailing list