|
@@ -47,8 +47,6 @@ uses
|
|
|
DiscMon, IEDriveInfo, IEListView, PIDL, BaseUtils, ListExt, CustomDirView,
|
|
DiscMon, IEDriveInfo, IEListView, PIDL, BaseUtils, ListExt, CustomDirView,
|
|
|
CustomDriveView, System.Generics.Collections;
|
|
CustomDriveView, System.Generics.Collections;
|
|
|
|
|
|
|
|
-{$I ResStrings.pas}
|
|
|
|
|
-
|
|
|
|
|
const
|
|
const
|
|
|
msThreadChangeDelay = 50;
|
|
msThreadChangeDelay = 50;
|
|
|
|
|
|
|
@@ -399,9 +397,6 @@ implementation
|
|
|
uses
|
|
uses
|
|
|
CompThread, PasTools, UITypes, Types, OperationWithTimeout, System.Generics.Defaults;
|
|
CompThread, PasTools, UITypes, Types, OperationWithTimeout, System.Generics.Defaults;
|
|
|
|
|
|
|
|
-resourcestring
|
|
|
|
|
- SErrorInvalidDirName = 'New name contains invalid characters %s';
|
|
|
|
|
-
|
|
|
|
|
type
|
|
type
|
|
|
PInt = ^Integer;
|
|
PInt = ^Integer;
|
|
|
|
|
|
|
@@ -819,7 +814,7 @@ begin
|
|
|
System.Insert(Space, Info, i);
|
|
System.Insert(Space, Info, i);
|
|
|
|
|
|
|
|
if Length(Item.pszText) > 0 then
|
|
if Length(Item.pszText) > 0 then
|
|
|
- raise EInvalidDirName.CreateFmt(SErrorInvalidDirName, [Info]);
|
|
|
|
|
|
|
+ raise EInvalidDirName.Create(SErrorInvalidName + Space + Info);
|
|
|
Exit;
|
|
Exit;
|
|
|
end;
|
|
end;
|
|
|
|
|
|