diff options
| author | untodesu <kirill@untode.su> | 2025-06-25 00:44:36 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-06-25 00:44:36 +0500 |
| commit | 88c01588aa0830e219eaa62588839e4d1e2883ce (patch) | |
| tree | 602bb27dd3399aab4aae8c19630e3b7a8dac824b /game/client/window_title.cc | |
| parent | 99cf6cca8dbbc1e563c10cf0167432d3d8af9783 (diff) | |
| download | voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.tar.bz2 voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.zip | |
Clang-format the entire source code
Diffstat (limited to 'game/client/window_title.cc')
| -rw-r--r-- | game/client/window_title.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/game/client/window_title.cc b/game/client/window_title.cc index fc113c2..cfa25a3 100644 --- a/game/client/window_title.cc +++ b/game/client/window_title.cc @@ -1,4 +1,5 @@ #include "client/pch.hh" + #include "client/window_title.hh" #include "core/feature.hh" @@ -12,9 +13,11 @@ void window_title::update(void) { std::string title; - if(globals::sound_ctx && globals::sound_dev) + if(globals::sound_ctx && globals::sound_dev) { title = fmt::format("Voxelius {}: {}", PROJECT_VERSION_STRING, splash::get()); - else title = fmt::format("Voxelius {}: {} [NOSOUND]", PROJECT_VERSION_STRING, splash::get()); + } else { + title = fmt::format("Voxelius {}: {} [NOSOUND]", PROJECT_VERSION_STRING, splash::get()); + } glfwSetWindowTitle(globals::window, title.c_str()); } |
