Skip to content

Commit

Permalink
Merge branch 'go-web'
Browse files Browse the repository at this point in the history
  • Loading branch information
Zealot111 committed Feb 7, 2020
2 parents 736b3de + 8c8818f commit 3148e06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions extension/OcapReplaySaver2/src/OcapReplaySaver2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,15 @@ v 4.1.0.4 2020-01-26 Zealot small fixes and optimizations
v 4.1.1.0 2020-01-26 Zealot Actually working )
v 4.1.1.1 2020-01-26 Zealot Fixed bug with buffer overflow
v 4.1.1.2 2020-01-26 Zealot Utf8 string to ASCII updated
v 4.1.1.3 2020-01-26 Zealot Fix with mission datetime
TODO:
- чтение запись настроек
*/

#define CURRENT_VERSION "4.1.1.2"
#define CURRENT_VERSION "4.1.1.3"

#pragma endregion

Expand Down Expand Up @@ -453,7 +454,7 @@ std::string& utf8to_translit(const std::string& in, std::string& out) {
string out_r; out_r.reserve(out.size());

for (const char& c : out) {
if (c >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c == '_' || c == '-') {
if (c >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c == '_' || c == '-' || c >= '0' && c <= '9' ) {
out_r += c;
}
}
Expand Down

0 comments on commit 3148e06

Please sign in to comment.