Commit bff3c7a4 authored by Sergey Radionov's avatar Sergey Radionov

npapi win32: added protection from multiple calling of create_windows();

parent 690f233f
......@@ -101,6 +101,9 @@ bool VlcPluginWin::create_windows()
HWND drawable = (HWND) (getWindow().window);
if( GetWindowLongPtr(drawable, GWLP_USERDATA) )
return false;
/* attach our plugin object */
SetWindowLongPtr(drawable, GWLP_USERDATA,
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