mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:29:55 +00:00
|| and && have different binding precedence
This commit is contained in:
parent
d148bd1cde
commit
b55a0fd32a
1 changed files with 2 additions and 2 deletions
|
@ -602,8 +602,8 @@ void ContentSelectorModel::ContentModel::sortFiles()
|
||||||
emit layoutAboutToBeChanged();
|
emit layoutAboutToBeChanged();
|
||||||
|
|
||||||
int firstModifiable = 0;
|
int firstModifiable = 0;
|
||||||
while (firstModifiable < mFiles.size() && mFiles.at(firstModifiable)->builtIn()
|
while (firstModifiable < mFiles.size()
|
||||||
|| mFiles.at(firstModifiable)->fromAnotherConfigFile())
|
&& (mFiles.at(firstModifiable)->builtIn() || mFiles.at(firstModifiable)->fromAnotherConfigFile()))
|
||||||
++firstModifiable;
|
++firstModifiable;
|
||||||
|
|
||||||
// Dependency sort
|
// Dependency sort
|
||||||
|
|
Loading…
Reference in a new issue