Skip to content

Commit

Permalink
[window] replaced hardcoded window name with the actual name variable…
Browse files Browse the repository at this point in the history
… used in all other places
  • Loading branch information
PanosK92 committed Jan 4, 2025
1 parent 386b054 commit 17f9dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/Core/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ namespace Spartan
}

// create window
m_title = "Spartan " + to_string(sp_info::version_major) + "." + to_string(sp_info::version_minor) + "." + to_string(sp_info::version_revision);
m_title = string(sp_info::name) + " " + to_string(sp_info::version_major) + "." + to_string(sp_info::version_minor) + "." + to_string(sp_info::version_revision);
window = SDL_CreateWindow(
m_title.c_str(), // window title
0, // initial x position
Expand Down

0 comments on commit 17f9dc7

Please sign in to comment.