diff options
author | Rogier <rogier777@gmail.com> | 2016-01-07 20:59:35 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-01-10 01:03:06 +0000 |
commit | 31ac53dfd0eb0ab1e42921e85cf6575a16cbc38e (patch) | |
tree | 1c7f121724beaed2bda8c754b83f420eab20a091 /src/util/directiontables.h | |
parent | 58babf8b1945f1a2db0180a4a3ed7b0d52872bef (diff) | |
download | minetest-31ac53dfd0eb0ab1e42921e85cf6575a16cbc38e.tar.gz minetest-31ac53dfd0eb0ab1e42921e85cf6575a16cbc38e.tar.bz2 minetest-31ac53dfd0eb0ab1e42921e85cf6575a16cbc38e.zip |
Fix the checking of flags values in the settings tab
Changes:
- Accept setting an empty flags-type value in the settings tab
if the variable specification permits it
- Don't accept substrings of flag values
E.g. with values: 'one,two,three', 'hree', 'w', etc. used to
be accepted. Not any more
- Don't accept flags with random pattern-matching special characters
E.g. with values: 'one,two,three', 'on.', '(o)[n]e*' etc. used
to be accepted. Not any more.
Diffstat (limited to 'src/util/directiontables.h')
0 files changed, 0 insertions, 0 deletions