[vlc-commits] Minor fixes to code style from merge
Cheng Sun
git at videolan.org
Wed Dec 21 12:54:14 CET 2011
npapi-vlc | branch: master | Cheng Sun <chengsun9 at gmail.com> | Wed Dec 14 22:02:47 2011 +0000| [6613bb8434c084ad932d7b6d8221cce1b5bbb8ee] | committer: Jean-Baptiste Kempf
Minor fixes to code style from merge
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=6613bb8434c084ad932d7b6d8221cce1b5bbb8ee
---
npapi/vlcplugin_win.cpp | 3 ++-
npapi/vlcshell.cpp | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/npapi/vlcplugin_win.cpp b/npapi/vlcplugin_win.cpp
index 7e61728..8e54c5d 100644
--- a/npapi/vlcplugin_win.cpp
+++ b/npapi/vlcplugin_win.cpp
@@ -163,7 +163,8 @@ bool VlcPluginWin::destroy_windows()
_WindowsManager.DestroyWindows();
HWND oldwin = (HWND)npwindow.window;
- if(oldwin){
+ if( oldwin )
+ {
WNDPROC winproc = getWindowProc();
if( winproc )
{
diff --git a/npapi/vlcshell.cpp b/npapi/vlcshell.cpp
index 109f121..f734cec 100644
--- a/npapi/vlcshell.cpp
+++ b/npapi/vlcshell.cpp
@@ -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();
More information about the vlc-commits
mailing list