Skip to content

Commit 3a2a9b2

Browse files
author
delphidabbler
committed
Modify comments re inability to move user database on and record new path in settings on portable edition
1 parent 63bf432 commit 3a2a9b2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Src/UAppInfo.pas

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ TAppInfo = class(TNoConstructObject)
7070
@return Full path to required directory.
7171
}
7272
class procedure ChangeUserDataDir(const NewDir: string);
73-
{Changes directory where CodeSnip stores the user's "database" files.
73+
{Changes directory where CodeSnip stores the user's "database" files and
74+
records it in the user config file.
75+
Does nothing on portable edition since it does not permit the user
76+
database to be moved.
7477
@param NewDir [in] New directory.
7578
}
7679
class function AppExeFilePath: string;
@@ -156,7 +159,10 @@ class function TAppInfo.AppExeFilePath: string;
156159
end;
157160

158161
class procedure TAppInfo.ChangeUserDataDir(const NewDir: string);
159-
{Changes directory where CodeSnip stores the user's "database" files.
162+
{Changes directory where CodeSnip stores the user's "database" files and
163+
records it in the user config file.
164+
Does nothing on portable edition since it does not permit the user database
165+
to be moved.
160166
@param NewDir [in] New directory.
161167
}
162168
{$IFNDEF PORTABLE}

0 commit comments

Comments
 (0)