1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-16 00:34:19 +00:00

Introjucer: fix for binary data file generation when no images are present.

This commit is contained in:
jules 2012-06-25 16:07:58 +01:00
parent 44b9f93564
commit 1fd27d7ed6
6 changed files with 9 additions and 34 deletions

View file

@ -2145,7 +2145,7 @@ const char* treedemo_xml = (const char*) temp_816ae700;
const char* getNamedResource (const char*, int&) throw();
const char* getNamedResource (const char* resourceNameUTF8, int& numBytes) throw()
{
int hash = 0;
unsigned int hash = 0;
if (resourceNameUTF8 != 0)
while (*resourceNameUTF8 != 0)
hash = 31 * hash + *resourceNameUTF8++;