mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 17:15:00 -06:00
9.34
This commit is contained in:
committed by
Kornel Lesiński
parent
83f8ddcc5b
commit
f08f4dcc3c
10
CPP/7zip/Common/FilePathAutoRename.cpp
Executable file → Normal file
10
CPP/7zip/Common/FilePathAutoRename.cpp
Executable file → Normal file
@@ -2,10 +2,10 @@
|
||||
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "Common/Defs.h"
|
||||
#include "Common/IntToString.h"
|
||||
#include "../../Common/Defs.h"
|
||||
#include "../../Common/IntToString.h"
|
||||
|
||||
#include "Windows/FileFind.h"
|
||||
#include "../../Windows/FileFind.h"
|
||||
|
||||
#include "FilePathAutoRename.h"
|
||||
|
||||
@@ -36,8 +36,8 @@ bool AutoRenamePath(FString &fullProcessedPath)
|
||||
FString name, extension;
|
||||
if (dotPos > slashPos && dotPos > 0)
|
||||
{
|
||||
name = fullProcessedPath.Left(dotPos);
|
||||
extension = fullProcessedPath.Mid(dotPos);
|
||||
name.SetFrom(fullProcessedPath, dotPos);
|
||||
extension = fullProcessedPath.Ptr(dotPos);
|
||||
}
|
||||
else
|
||||
name = fullProcessedPath;
|
||||
|
||||
Reference in New Issue
Block a user