and actually fix it
This commit is contained in:
parent
f49c6d2d52
commit
97b4012685
|
@ -237,7 +237,7 @@ namespace libtorrent
|
||||||
std::string name(pe.c_str(), file_end);
|
std::string name(pe.c_str(), file_end);
|
||||||
std::transform(name.begin(), name.end(), name.begin(), &to_lower);
|
std::transform(name.begin(), name.end(), name.begin(), &to_lower);
|
||||||
char const** str = std::find(reserved_names, reserved_names + num_names, name);
|
char const** str = std::find(reserved_names, reserved_names + num_names, name);
|
||||||
if (str != reserved + num_names)
|
if (str != reserved_names + num_names)
|
||||||
{
|
{
|
||||||
pe += "_";
|
pe += "_";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue