This commit is contained in:
Proddy
2022-12-16 22:57:59 +01:00
parent b6de431a56
commit 147be12583
19 changed files with 64 additions and 42 deletions

View File

@@ -678,6 +678,10 @@ std::string Helpers::toUpper(std::string const & s) {
// replace char in char string
void Helpers::replace_char(char * str, char find, char replace) {
if (str == nullptr) {
return;
}
int i = 0;
while (str[i] != '\0') {