diff options
Diffstat (limited to 'dep/CascLib/src/common/RootHandler.cpp')
-rw-r--r-- | dep/CascLib/src/common/RootHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/CascLib/src/common/RootHandler.cpp b/dep/CascLib/src/common/RootHandler.cpp index afdd869f599..4baeb41a421 100644 --- a/dep/CascLib/src/common/RootHandler.cpp +++ b/dep/CascLib/src/common/RootHandler.cpp @@ -17,7 +17,7 @@ int RootHandler_Insert(TRootHandler * pRootHandler, const char * szFileName, LPBYTE pbEncodingKey) { - if(pRootHandler == NULL || pRootHandler->Insert == NULL) + if(pRootHandler == NULL || pRootHandler->Insert == NULL || pbEncodingKey == NULL) return ERROR_NOT_SUPPORTED; return pRootHandler->Insert(pRootHandler, szFileName, pbEncodingKey); |