Fixed crash when referencing an invalid path.

This commit is contained in:
Brian Ferguson 2013-02-07 13:17:11 -07:00
parent 95aacda3cb
commit 9ce1403cbe

View File

@ -100,6 +100,7 @@ PLUGIN_EXPORT void Reload(void* data, void* rm, double* maxValue)
if (!child->parent) if (!child->parent)
{ {
RmLog(LOG_ERROR, L"FileView.dll: Invalid Path"); RmLog(LOG_ERROR, L"FileView.dll: Invalid Path");
return;
} }
} }
else else