mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-20 15:40:32 +00:00
|| and && have different binding precedence
This commit is contained in:
parent
d148bd1cde
commit
b55a0fd32a
@ -602,8 +602,8 @@ void ContentSelectorModel::ContentModel::sortFiles()
|
||||
emit layoutAboutToBeChanged();
|
||||
|
||||
int firstModifiable = 0;
|
||||
while (firstModifiable < mFiles.size() && mFiles.at(firstModifiable)->builtIn()
|
||||
|| mFiles.at(firstModifiable)->fromAnotherConfigFile())
|
||||
while (firstModifiable < mFiles.size()
|
||||
&& (mFiles.at(firstModifiable)->builtIn() || mFiles.at(firstModifiable)->fromAnotherConfigFile()))
|
||||
++firstModifiable;
|
||||
|
||||
// Dependency sort
|
||||
|
Loading…
x
Reference in New Issue
Block a user