diff --git a/Library/Util.cpp b/Library/Util.cpp index c74371ac..82625726 100644 --- a/Library/Util.cpp +++ b/Library/Util.cpp @@ -88,7 +88,7 @@ void RmNullCRTInvalidParameterHandler(const wchar_t* expression, const wchar_t* { #ifdef _DEBUG - if (*function && *file) + if (function && file) { LogErrorF(L"Invalid parameter detected. Function: \"%s\" File: \"%s:%d\" Expression: \"%s\"", function, file, line, expression); return;