Commit ea611083 authored by Ali Abdallah's avatar Ali Abdallah

Fix a bug in the browser plugin about not handling NP_EMBED

parent 898be529
......@@ -441,7 +441,7 @@ int32_t CPlugin::WriteReady (NPStream * stream)
{
//g_debug ("WriteReady url=%s", stream->url);
if ( mode != NP_FULL )
if ( mode != NP_FULL && mode != NP_EMBED )
{
NPN_DestroyStream (mInstance, stream, NPRES_DONE);
return -1;
......
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