Browse Source

BLOCKS API: avoided empty block versions overwriting previously valid ones

tags/2021-05-28
jules 7 years ago
parent
commit
77e94d905b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_blocks_basics/topology/juce_PhysicalTopologySource.cpp

+ 1
- 1
modules/juce_blocks_basics/topology/juce_PhysicalTopologySource.cpp View File

@@ -370,7 +370,7 @@ struct PhysicalTopologySource::Internal
String deviceVersion (reinterpret_cast<const char*> (d.version.version),
jmin (static_cast<size_t> (d.version.length), sizeof (d.version.version)));
if (d.uid == uid && deviceVersion != version)
if (d.uid == uid && deviceVersion != version && deviceVersion.isNotEmpty())
return true;
}


Loading…
Cancel
Save