[vlc-devel] [PATCH 14/41] vout:win32: avoid variable shadowing
Steve Lhomme
robux4 at ycbcr.xyz
Fri Mar 22 16:13:52 CET 2019
---
modules/video_output/win32/events.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/video_output/win32/events.c b/modules/video_output/win32/events.c
index 6ad82229b6..9c09fb92a6 100644
--- a/modules/video_output/win32/events.c
+++ b/modules/video_output/win32/events.c
@@ -787,15 +787,15 @@ static int Win32VoutCreateWindow( event_thread_t *p_event )
if( p_event->hparent )
{
- LONG i_style;
+ LONG parent_style;
/* We don't want the window owner to overwrite our client area */
- i_style = GetWindowLong( p_event->hparent, GWL_STYLE );
+ parent_style = GetWindowLong( p_event->hparent, GWL_STYLE );
- if( !(i_style & WS_CLIPCHILDREN) )
+ if( !(parent_style & WS_CLIPCHILDREN) )
/* Hmmm, apparently this is a blocking call... */
SetWindowLong( p_event->hparent, GWL_STYLE,
- i_style | WS_CLIPCHILDREN );
+ parent_style | WS_CLIPCHILDREN );
/* Create our fullscreen window */
p_event->hfswnd =
--
2.17.1
More information about the vlc-devel
mailing list