Merge branch 'development' into cmake/SPEC-7484
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> # Conflicts: # Code/Editor/Animation/SkeletonHierarchy.cpp # Code/Editor/Animation/SkeletonMapper.cpp # Code/Editor/Animation/SkeletonMapperOperator.cpp # Code/Editor/LogFile.cpp # Code/Editor/ResourceSelectorHost.cpp # Code/Editor/SettingsManager.cpp # Code/Editor/Util/EditorUtils.cpp # Code/Editor/Util/FileUtil.cpp # Code/Editor/Util/IXmlHistoryManager.h # Code/Editor/Util/ImageTIF.cpp # Code/Editor/Util/StringHelpers.cpp # Code/Editor/Util/XmlHistoryManager.cpp # Code/Editor/Util/XmlHistoryManager.h
This commit is contained in:
@@ -39,7 +39,7 @@ namespace Path
|
||||
// Directory named filenames containing ":" are invalid, so we can assume if there is a :
|
||||
// it will be the drive name.
|
||||
pchCurrentPosition = strchr(pchLastPosition, ':');
|
||||
if (pchCurrentPosition == NULL)
|
||||
if (pchCurrentPosition == nullptr)
|
||||
{
|
||||
rstrDriveLetter = "";
|
||||
}
|
||||
@@ -51,7 +51,7 @@ namespace Path
|
||||
|
||||
pchCurrentPosition = strrchr(pchLastPosition, '\\');
|
||||
pchAuxPosition = strrchr(pchLastPosition, '/');
|
||||
if ((pchCurrentPosition == NULL) && (pchAuxPosition == NULL))
|
||||
if ((pchCurrentPosition == nullptr) && (pchAuxPosition == nullptr))
|
||||
{
|
||||
rstrDirectory = "";
|
||||
}
|
||||
@@ -67,7 +67,7 @@ namespace Path
|
||||
}
|
||||
|
||||
pchCurrentPosition = strrchr(pchLastPosition, '.');
|
||||
if (pchCurrentPosition == NULL)
|
||||
if (pchCurrentPosition == nullptr)
|
||||
{
|
||||
rstrExtension = "";
|
||||
strFilename.assign(pchLastPosition);
|
||||
@@ -111,7 +111,7 @@ namespace Path
|
||||
do
|
||||
{
|
||||
pchCurrentPosition = strpbrk(pchLastPosition, "\\/");
|
||||
if (pchCurrentPosition == NULL)
|
||||
if (pchCurrentPosition == nullptr)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user