Fixed typo.

This commit is contained in:
Leonardo Zide 2019-12-09 11:47:43 -08:00
parent 24890ecebd
commit 67d2c5b334

View file

@ -71,7 +71,7 @@ static LONG WINAPI lcSehHandler(PEXCEPTION_POINTERS exceptionPointers)
static void lcSehInit()
{
if (GetTempPath(LC_ARRAY_SIZE(gMinidumpPath), gMinidumpPath))
if (GetTempPath(LC_ARRAY_COUNT(gMinidumpPath), gMinidumpPath))
lstrcat(gMinidumpPath, TEXT("leocad.dmp"));
SetUnhandledExceptionFilter(lcSehHandler);