summaryrefslogtreecommitdiffstats
path: root/game/client/window_title.cc
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/window_title.cc')
-rw-r--r--game/client/window_title.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/game/client/window_title.cc b/game/client/window_title.cc
index cfa25a3..517429d 100644
--- a/game/client/window_title.cc
+++ b/game/client/window_title.cc
@@ -2,7 +2,6 @@
#include "client/window_title.hh"
-#include "core/feature.hh"
#include "core/version.hh"
#include "shared/splash.hh"
@@ -14,9 +13,9 @@ void window_title::update(void)
std::string title;
if(globals::sound_ctx && globals::sound_dev) {
- title = fmt::format("Voxelius {}: {}", PROJECT_VERSION_STRING, splash::get());
+ title = std::format("Voxelius {}: {}", project_version_string, splash::get());
} else {
- title = fmt::format("Voxelius {}: {} [NOSOUND]", PROJECT_VERSION_STRING, splash::get());
+ title = std::format("Voxelius {}: {} [NOSOUND]", project_version_string, splash::get());
}
glfwSetWindowTitle(globals::window, title.c_str());