mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-28 02:30:05 +00:00
BLOCKS API: avoided empty block versions overwriting previously valid ones
This commit is contained in:
parent
1c037e07be
commit
77e94d905b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue