diff options
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()); } |
