Replace / and \ with space in application name

This commit is contained in:
dec05eba
2025-10-26 01:04:44 +02:00
parent 4181d80405
commit ecd9a1f13f
2 changed files with 16 additions and 1 deletions

View File

@@ -1865,7 +1865,7 @@ namespace gsr {
if(focused_window_name.empty())
focused_window_name = "Game";
string_replace_characters(focused_window_name.data(), "/\\", '_');
string_replace_characters(focused_window_name.data(), "/\\", ' ');
std::string video_directory = filepath_get_directory(video_filepath) + "/" + focused_window_name;
create_directory_recursive(video_directory.data());