mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
Improve readability
This commit is contained in:
parent
92bd54aed7
commit
16c7e3a9ed
@ -48,9 +48,9 @@ namespace dedicated_info
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string cleaned_hostname(sv_hostname->current.string);
|
std::string cleaned_hostname = sv_hostname->current.string;
|
||||||
|
|
||||||
utils::string::strip(cleaned_hostname.data(), cleaned_hostname.data(),
|
utils::string::strip(sv_hostname->current.string, cleaned_hostname.data(),
|
||||||
cleaned_hostname.size() + 1);
|
cleaned_hostname.size() + 1);
|
||||||
|
|
||||||
console::set_title(utils::string::va("%s on %s [%d/%d] (%d)", cleaned_hostname.data(),
|
console::set_title(utils::string::va("%s on %s [%d/%d] (%d)", cleaned_hostname.data(),
|
||||||
|
Loading…
Reference in New Issue
Block a user