clang-format

This commit is contained in:
Dan Bryant 2020-03-04 15:26:30 +00:00
parent 8db03e4821
commit 4aefb5cbdb

View File

@ -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] == '\\')
{ {