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

git version control git at videolan.org
Sat Jan 10 21:19:46 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Jan 10 21:19:12 2009 +0100| [01fdef51d6c92f1bf409d919ae12dcc300e3797d] | committer: Laurent Aimar 

Fixed a typo in libass.

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

 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 6c86de0..4d1e35c 100644
--- a/modules/codec/libass.c
+++ b/modules/codec/libass.c
@@ -682,7 +682,7 @@ static ass_handle_t *AssHandleHold( 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