fix return value

This commit is contained in:
akallabeth 2023-08-31 08:13:52 +02:00 committed by akallabeth
parent 3ea38175b4
commit ffb9584e56

View File

@ -35,7 +35,7 @@ static bool dupstr(char** dst, const char* src)
free(*dst);
*dst = NULL;
if (!src)
return TRUE;
return true;
*dst = _strdup(src);
return *dst != NULL;
}