[vlc-devel] [vlc-commits] Win32: use Win32DebugOutputMsgW instead of ANSI version

Jean-Baptiste Kempf jb at videolan.org
Thu Jan 24 17:12:32 CET 2013


On 24 Jan, Rafaël Carré wrote :
> Le 24/01/2013 16:50, Rémi Denis-Courmont a écrit :
> > Le jeudi 24 janvier 2013 17:19:09, Jean-Baptiste Kempf a écrit :
> >> diff --git a/src/misc/messages.c b/src/misc/messages.c
> >> index 91aa6a4..99dfd31 100644
> >> --- a/src/misc/messages.c
> >> +++ b/src/misc/messages.c
> >> @@ -325,7 +325,7 @@ static void Win32DebugOutputMsg (void* d, int type,
> >> const msg_item_t *p_item, msg[msg_len] = '\n';
> >>              msg[msg_len + 1] = '\0';
> >>          }
> >> -        OutputDebugStringA(msg);
> >> +        OutputDebugStringW(ToWide(msg));
> > 
> > This bug is getting old.
> 
> Which bug?

Missing free, no?

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list