mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix silly bugs
This commit is contained in:
parent
c1f7d557dc
commit
401a6884be
@ -192,9 +192,7 @@ PluginModuleChild::AnswerNP_Shutdown(NPError *rv)
|
||||
|
||||
// FIXME/cjones: should all instances be dead by now?
|
||||
|
||||
if (mShutdownFunc)
|
||||
*rv = mShutdownFunc();
|
||||
|
||||
*rv = mShutdownFunc ? mShutdownFunc() : NPERR_NO_ERROR;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1823,5 +1823,6 @@ setColor(NPObject* npobj, const NPVariant* args, uint32_t argCount, NPVariant* r
|
||||
r.bottom = id->window.height;
|
||||
NPN_InvalidateRect(npp, &r);
|
||||
|
||||
VOID_TO_NPVARIANT(*result);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user