diff options
| author | untodesu <kirill@untode.su> | 2025-09-11 15:48:53 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-09-11 15:48:53 +0500 |
| commit | d0fbd68055e3f4a796330cc8acc6c0954b5327ff (patch) | |
| tree | e581014ea02711efa5e71f00f9862e5bca58f2ed /game/client/gui/window_title.cc | |
| parent | cbd823aa2154a956e7da4319eecbf7afc10441ae (diff) | |
| download | voxelius-d0fbd68055e3f4a796330cc8acc6c0954b5327ff.tar.bz2 voxelius-d0fbd68055e3f4a796330cc8acc6c0954b5327ff.zip | |
Run clang-format across the project
Diffstat (limited to 'game/client/gui/window_title.cc')
| -rw-r--r-- | game/client/gui/window_title.cc | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/game/client/gui/window_title.cc b/game/client/gui/window_title.cc index 6f46668..6e2387c 100644 --- a/game/client/gui/window_title.cc +++ b/game/client/gui/window_title.cc @@ -1,23 +1,23 @@ -#include "client/pch.hh" - -#include "client/gui/window_title.hh" - -#include "core/version.hh" - -#include "shared/splash.hh" - -#include "client/globals.hh" - -void gui::window_title::update(void) -{ - std::string title; - - if(globals::sound_ctx && globals::sound_dev) { - title = std::format("Voxelius {}: {}", version::semver, splash::get()); - } - else { - title = std::format("Voxelius {}: {} [NOSOUND]", version::semver, splash::get()); - } - - glfwSetWindowTitle(globals::window, title.c_str()); -} +#include "client/pch.hh"
+
+#include "client/gui/window_title.hh"
+
+#include "core/version.hh"
+
+#include "shared/splash.hh"
+
+#include "client/globals.hh"
+
+void gui::window_title::update(void)
+{
+ std::string title;
+
+ if(globals::sound_ctx && globals::sound_dev) {
+ title = std::format("Voxelius {}: {}", version::semver, splash::get());
+ }
+ else {
+ title = std::format("Voxelius {}: {} [NOSOUND]", version::semver, splash::get());
+ }
+
+ glfwSetWindowTitle(globals::window, title.c_str());
+}
|
