Commit 6613bb84 authored by Cheng Sun's avatar Cheng Sun Committed by Jean-Baptiste Kempf

Minor fixes to code style from merge

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent b5f942c6
......@@ -163,7 +163,8 @@ bool VlcPluginWin::destroy_windows()
_WindowsManager.DestroyWindows();
HWND oldwin = (HWND)npwindow.window;
if(oldwin){
if( oldwin )
{
WNDPROC winproc = getWindowProc();
if( winproc )
{
......
......@@ -353,7 +353,7 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
/* resize / move notification */
p_plugin->resize_windows();
} else {
//plugin parent window was changed, notify plugin about it
/* plugin parent window was changed, notify plugin about it */
p_plugin->destroy_windows();
p_plugin->setWindow(*window);
p_plugin->create_windows();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment