Skip to content

Commit

Permalink
Fixed: Opening file with text size larger than 64K in MDINotepad example
Browse files Browse the repository at this point in the history
  • Loading branch information
XusinboyBekchanov committed Sep 5, 2022
1 parent c5b6ef7 commit b6e34d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/MDINotepad/MDIMain.frm
Original file line number Diff line number Diff line change
Expand Up @@ -1003,11 +1003,11 @@ Private Sub MDIMainType.FileOpen(ByRef FileName As Const WString)
a = MDIChildNew()
a->CreateWnd
a->SetFile(FileName)
a->TextBox1.Text = TextFromFile(FileName, Encode, NewLine, CodePage)
a->Encode = Encode
a->NewLine = NewLine
a->CodePage = CodePage
a->Show(MDIMain)
a->TextBox1.Text = TextFromFile(FileName, Encode, NewLine, CodePage)
Else
a = lstMdiChild.Item(i)
a->SetFocus()
Expand Down

0 comments on commit b6e34d4

Please sign in to comment.