]> git.sesse.net Git - vlc/commitdiff
Fixed msw vout titles.
authorLaurent Aimar <fenrir@videolan.org>
Wed, 9 Dec 2009 20:05:28 +0000 (21:05 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 21 Dec 2009 17:48:42 +0000 (18:48 +0100)
modules/video_output/msw/events.c

index 647a8f669e5d7976ed52f0533df8da12e7ead363..83dc7cb85942d23c2d4d8aac8ec3fba5b4e7cd1f 100644 (file)
@@ -354,9 +354,9 @@ static void *EventThread( void *p_this )
 
             if( pwz_title )
             {
-                SetWindowText( p_event->hwnd, (LPCTSTR)pwz_title );
+                SetWindowTextW( p_event->hwnd, (LPCTSTR)pwz_title );
                 if( p_event->hfswnd )
-                    SetWindowText( p_event->hfswnd, (LPCTSTR)pwz_title );
+                    SetWindowTextW( p_event->hfswnd, (LPCTSTR)pwz_title );
                 free( pwz_title );
             }
             break;