mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fix a string comparison in c064b0c
This commit is contained in:
parent
c064b0c604
commit
fc8eacbf5b
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ static std::unique_ptr<InputStream> createAssetInputStream (const char* resource
|
|||
{
|
||||
for (int i = 0; i < BinaryData::namedResourceListSize; ++i)
|
||||
{
|
||||
if (BinaryData::originalFilenames[i] == resourcePath)
|
||||
if (String (BinaryData::originalFilenames[i]) == String (resourcePath))
|
||||
{
|
||||
int dataSizeInBytes;
|
||||
auto* resource = BinaryData::getNamedResource (BinaryData::namedResourceList[i], dataSizeInBytes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue