[vlc-devel] [PATCH 2/2] Win32: write module name as wchar_t

Rafaël Carré funman at videolan.org
Tue Aug 12 19:13:05 CEST 2014


On 08/12/14 18:29, Hannes Domani wrote:
> version 2 with %ls instead of %S.
> 
> 
> 0002-Win32-write-module-name-as-wchar_t.patch
> 
> 
> From f494dbfb8b44594e36c0de5b75f9c076c4fe6110 Mon Sep 17 00:00:00 2001
> From: Hannes Domani <ssbssa at yahoo.de>
> Date: Mon, 11 Aug 2014 20:51:22 +0200
> Subject: [PATCH 2/2] Win32: write module name as wchar_t
> 
> ---
>  bin/winvlc.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/bin/winvlc.c b/bin/winvlc.c
> index 2de6482..02bc5b6 100644
> --- a/bin/winvlc.c
> +++ b/bin/winvlc.c
> @@ -296,7 +296,7 @@ LONG WINAPI vlc_exception_filter(struct _EXCEPTION_POINTERS *lpExceptionInfo)
>          osvi.dwOSVersionInfoSize = sizeof( OSVERSIONINFO );
>          GetVersionEx( &osvi );
>  
> -        fwprintf( fd, L"[version]\nOS=%d.%d.%d.%d.%s\nVLC=" VERSION_MESSAGE,
> +        fwprintf( fd, L"[version]\nOS=%d.%d.%d.%d.%ls\nVLC=" VERSION_MESSAGE,
>                  osvi.dwMajorVersion, osvi.dwMinorVersion, osvi.dwBuildNumber,
>                  osvi.dwPlatformId, osvi.szCSDVersion);

The log message doesn't tell about this change, is it wanted?



More information about the vlc-devel mailing list