Skip to content

Commit

Permalink
removed dependency on private unit MSString
Browse files Browse the repository at this point in the history
  • Loading branch information
gabr42 committed Aug 23, 2017
1 parent 54c2b37 commit 4307af5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1 +1,2 @@
update.bat
update.bat
src/__history/
5 changes: 2 additions & 3 deletions src/GpVCL.pas
Expand Up @@ -272,7 +272,6 @@ implementation
ShlObj,
Themes,
ActiveX,
MSString,
GpProperty;

type
Expand Down Expand Up @@ -893,8 +892,8 @@ procedure ChangeExtensionOnTypeChange(saveDialog: TFileSaveDialog);
then
Exit;

sPath := MakeSmartBackslash(ExtractFilePath(dlgFileName));
if AnsiSameText(sPath, MakeSmartBackslash (dlgFolderName)) then
sPath := IncludeTrailingPathDelimiter(ExtractFilePath(dlgFileName));
if AnsiSameText(sPath, IncludeTrailingPathDelimiter(dlgFolderName)) then
sPath := '';
sName := ExtractFileName(dlgFileName);
sExt := ExtractFileExt(sName);
Expand Down

0 comments on commit 4307af5

Please sign in to comment.