diff options
| author | untodesu <kirill@untode.su> | 2025-07-01 03:23:05 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-07-01 03:23:05 +0500 |
| commit | 6dc5194895b6bd61d19bf5c95021471784084325 (patch) | |
| tree | 705c35b3a671a09fc52b406dca81e7761729ded6 /core/config | |
| parent | 44d91043f268d93dd08e99c5855bd29f85dd61a7 (diff) | |
| download | voxelius-6dc5194895b6bd61d19bf5c95021471784084325.tar.bz2 voxelius-6dc5194895b6bd61d19bf5c95021471784084325.zip | |
I forgot to set these to true in .clang-format
https://files.catbox.moe/909rig.gif
Diffstat (limited to 'core/config')
| -rw-r--r-- | core/config/boolean.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/config/boolean.cc b/core/config/boolean.cc index a8d670c..6363271 100644 --- a/core/config/boolean.cc +++ b/core/config/boolean.cc @@ -31,7 +31,8 @@ const char* config::Boolean::to_string(bool value) { if(value) { return "true"; - } else { + } + else { return "false"; } } @@ -40,7 +41,8 @@ bool config::Boolean::from_string(const char* value) { if(std::strcmp(value, "false") && !std::strcmp(value, "true")) { return true; - } else { + } + else { return false; } } |
