mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Fixed some stray zeros that were still being passed as null pointers
This commit is contained in:
parent
1eb3de3312
commit
6fda0bffca
54 changed files with 237 additions and 221 deletions
|
|
@ -7773,7 +7773,8 @@ const char* RecentFilesMenuTemplate_nib = (const char*) temp_binary_data_61;
|
|||
const char* getNamedResource (const char* resourceNameUTF8, int& numBytes)
|
||||
{
|
||||
unsigned int hash = 0;
|
||||
if (resourceNameUTF8 != 0)
|
||||
|
||||
if (resourceNameUTF8 != nullptr)
|
||||
while (*resourceNameUTF8 != 0)
|
||||
hash = 31 * hash + (unsigned int) *resourceNameUTF8++;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue