mirror of https://notabug.org/acetone/ircabot.git
Баг с точкой
parent
111a406b8f
commit
141531f20f
4
main.cpp
4
main.cpp
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue