mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-12-27 21:35:41 +00:00
Make empty string count as false.
This commit is contained in:
parent
2a5b6277a4
commit
c34b7ba11d
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ namespace kamokan {
|
|||
if (parStr == "true" or parStr == "yes" or parStr == "1" or parStr == "on") {
|
||||
return true;
|
||||
}
|
||||
else if (parStr == "false" or parStr == "no" or parStr == "0" or parStr == "off") {
|
||||
else if (parStr == "" or parStr == "false" or parStr == "no" or parStr == "0" or parStr == "off") {
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue