diff options
| author | Chris Bessent <lost.dragonist@gmail.com> | 2021-01-16 19:00:09 -0700 |
|---|---|---|
| committer | Chris Bessent <lost.dragonist@gmail.com> | 2021-01-16 19:20:51 -0700 |
| commit | 1010b5958b59086d5558698455d9349dcc26514e (patch) | |
| tree | d0eaacc066b58e67c3440a6899aaba2ecba337db /src/filetree.cpp | |
| parent | 2b1f01cba2a50a17db69187a1b4cbecf5a0fb65d (diff) | |
Add error checking to lockedorder.txt processing
Errors now checked:
1. Plugin listed in lockedorder.txt does not exist
2. Priority in lockedorder.txt is negative
3. Priority in lockedorder.txt is greater than the total number of plugins
Note that lockedorder.txt is not rewritten after these errors occur as
that seems most likely to be the desired behavior...? That is, preserving
the state of lockedorder.txt is more important than anything making sense.
Though negative priorities don't make sense and never will so just get rid
of that if the lockedorder.txt is written to at some point.
Diffstat (limited to 'src/filetree.cpp')
0 files changed, 0 insertions, 0 deletions
