Compile error caused by translation
parent
b2fbcbe787
commit
70e0a81458
|
@ -34,7 +34,7 @@ void PrepareFilename(CBotString &filename)
|
||||||
pos = filename.ReverseFind('\\');
|
pos = filename.ReverseFind('\\');
|
||||||
if ( pos > 0 )
|
if ( pos > 0 )
|
||||||
{
|
{
|
||||||
filename = filename.Mid(pos+1); // Remove files with \\
|
filename = filename.Mid(pos+1); // Remove files with
|
||||||
}
|
}
|
||||||
|
|
||||||
pos = filename.ReverseFind('/');
|
pos = filename.ReverseFind('/');
|
||||||
|
|
Loading…
Reference in New Issue