diff --git a/mozilla/modules/plugin/base/src/ns4xPlugin.cpp b/mozilla/modules/plugin/base/src/ns4xPlugin.cpp index cf4a93022da..ee698da91fc 100644 --- a/mozilla/modules/plugin/base/src/ns4xPlugin.cpp +++ b/mozilla/modules/plugin/base/src/ns4xPlugin.cpp @@ -1928,7 +1928,7 @@ _getvalue(NPP npp, NPNVariable variable, void *result) *((NPNToolkitType*)result) = NPNVGtk2; #endif - if (result) + if (*result) return NPERR_NO_ERROR; return NPERR_GENERIC_ERROR;