Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ea14d1f

Browse files
Correct RTF encoding displayed in save dialogues
The file encoding presented as the only option for RTF files in the save dialogue boxes displayed by the File | Save Unit and File | Save Annotated Source dialogue boxes was changed from ANSI to ASCII. RTF files are always saved in ASCII, regardless of the fact that the encoding was presented as ANSI. This now conforms with the ASCII encoding already presented by the File | Save Snippet Information dialogue box.
1 parent 543170e commit ea14d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Src/USaveSourceMgr.pas‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ constructor TSaveSourceMgr.InternalCreate;
270270
fSourceFileInfo.FileTypeInfo[sfRTF] := TSourceFileTypeInfo.Create(
271271
'.rtf',
272272
GetFileTypeDesc(sfRTF),
273-
[etSysDefault]
273+
[etASCII]
274274
);
275275
fSourceFileInfo.DefaultFileName := GetDefaultFileName;
276276

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /