clang-format
This commit is contained in:
parent
8db03e4821
commit
4aefb5cbdb
@ -300,7 +300,8 @@ string extractFileName(const string& src)
|
|||||||
for (int i = src.size() - 1; i >= 0; i--)
|
for (int i = src.size() - 1; i >= 0; i--)
|
||||||
if (src[i] == '.')
|
if (src[i] == '.')
|
||||||
{
|
{
|
||||||
if (endPos == src.size()) endPos = i;
|
if (endPos == src.size())
|
||||||
|
endPos = i;
|
||||||
}
|
}
|
||||||
else if (src[i] == '/' || src[i] == '\\')
|
else if (src[i] == '/' || src[i] == '\\')
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user