1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +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

@ -1129,7 +1129,7 @@ const char* jucer_WindowTemplate_h = (const char*) temp_613d4455;
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++;