Bug 336968 Function: _getvalue does not dereference "result" after assigning to *result
r=jst sr=jst git-svn-id: svn://10.0.0.236/trunk@200826 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1928,7 +1928,7 @@ _getvalue(NPP npp, NPNVariable variable, void *result)
|
||||
*((NPNToolkitType*)result) = NPNVGtk2;
|
||||
#endif
|
||||
|
||||
if (*result)
|
||||
if (*(NPNToolkitType*)result)
|
||||
return NPERR_NO_ERROR;
|
||||
|
||||
return NPERR_GENERIC_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user