[vlc-devel] commit: Fixed a typo in libass. (Laurent Aimar )

git version control git at videolan.org
Sun Jan 18 18:35:23 CET 2009


vlc | branch: 0.9-bugfix | Laurent Aimar <fenrir at videolan.org> | Sat Jan 10 21:19:12 2009 +0100| [bc03ef22d2e5f6e516fd76873e31a83b60258447] | committer: Jean-Baptiste Kempf 

Fixed a typo in libass.
(cherry picked from commit 01fdef51d6c92f1bf409d919ae12dcc300e3797d)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/codec/libass.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/libass.c b/modules/codec/libass.c
index a1b75f6..58da2e7 100644
--- a/modules/codec/libass.c
+++ b/modules/codec/libass.c
@@ -703,7 +703,7 @@ static ass_handle_t *AssHandleYield( decoder_t *p_dec )
     char *psz_font_dir = NULL;
 
 #if defined(WIN32)
-    const UINT uPath = GetSystemWindowsDirectory( NULL, 0 );
+    const UINT uPath = GetSystemWindowsDirectoryW( NULL, 0 );
     if( uPath > 0 )
     {
         wchar_t *psw_path = calloc( uPath + 1, sizeof(wchar_t) );




More information about the vlc-devel mailing list