Баг с точкой

master
const an teen 2021-05-28 21:35:42 +03:00
parent 111a406b8f
commit 141531f20f
1 changed files with 2 additions and 2 deletions

View File

@ -175,10 +175,10 @@ std::string search(std::string text)
for (auto it = values.begin(), end = values.end(); it != end; ++it) for (auto it = values.begin(), end = values.end(); it != end; ++it)
{ // Замена тире на точку { // Замена тире на точку
if (*it == '-') *it = '.'; if (*it == '-') *it = '-';
} }
values += "-"; values += ".";
} }
return values; return values;
} }