[vlc-commits] Win32 screen: use TEXT macro

Jean-Baptiste Kempf git at videolan.org
Mon Jan 14 17:13:07 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 14 18:12:50 2013 +0100| [f469840d0dbfa45303324285c9e149ce74b06da4] | committer: Jean-Baptiste Kempf

Win32 screen: use TEXT macro

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

 modules/access/screen/win32.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/screen/win32.c b/modules/access/screen/win32.c
index fd1a7ff..0092df9 100644
--- a/modules/access/screen/win32.c
+++ b/modules/access/screen/win32.c
@@ -56,7 +56,7 @@ int screen_InitCapture( demux_t *p_demux )
         return VLC_ENOMEM;
 
     /* Get the device context for the whole screen */
-    p_data->hdc_src = CreateDC( "DISPLAY", NULL, NULL, NULL );
+    p_data->hdc_src = CreateDC( TEXT("DISPLAY"), NULL, NULL, NULL );
     if( !p_data->hdc_src )
     {
         msg_Err( p_demux, "cannot get device context" );



More information about the vlc-commits mailing list