From aaed751bf4430bf4b9b30cef532b8753b9f639ce Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Sep 2025 13:48:31 +0500 Subject: Replace most of C strings with string_view --- game/client/gui/window_title.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'game/client/gui/window_title.cc') diff --git a/game/client/gui/window_title.cc b/game/client/gui/window_title.cc index 91e308f..6f46668 100644 --- a/game/client/gui/window_title.cc +++ b/game/client/gui/window_title.cc @@ -13,10 +13,10 @@ void gui::window_title::update(void) std::string title; if(globals::sound_ctx && globals::sound_dev) { - title = std::format("Voxelius {}: {}", project_version_string, splash::get()); + title = std::format("Voxelius {}: {}", version::semver, splash::get()); } else { - title = std::format("Voxelius {}: {} [NOSOUND]", project_version_string, splash::get()); + title = std::format("Voxelius {}: {} [NOSOUND]", version::semver, splash::get()); } glfwSetWindowTitle(globals::window, title.c_str()); -- cgit