Closed NZSmartie closed 7 years ago
When pDescription is NULL, you'll end up with the simplified sprintf("%s", NULL); that will still try to print out a NULL string, causing some weird behaviour.
pDescription
sprintf("%s", NULL);
This allows the title for a resource to be set to NULL or and empty string.
When
pDescription
is NULL, you'll end up with the simplifiedsprintf("%s", NULL);
that will still try to print out a NULL string, causing some weird behaviour.This allows the title for a resource to be set to NULL or and empty string.