mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 04:53:06 +01:00
Cleanup.
This commit is contained in:
@@ -239,7 +239,7 @@ namespace bx
|
||||
|
||||
const StringView FilePath::getPath() const
|
||||
{
|
||||
const char* end = strRFind(m_filePath, '/');
|
||||
const char* end = strRFind(m_filePath, INT32_MAX, '/');
|
||||
if (NULL != end)
|
||||
{
|
||||
return StringView(m_filePath, end+1);
|
||||
@@ -250,7 +250,7 @@ namespace bx
|
||||
|
||||
const StringView FilePath::getFileName() const
|
||||
{
|
||||
const char* fileName = strRFind(m_filePath, '/');
|
||||
const char* fileName = strRFind(m_filePath, INT32_MAX, '/');
|
||||
if (NULL != fileName)
|
||||
{
|
||||
return StringView(fileName+1);
|
||||
|
||||
Reference in New Issue
Block a user