git-svn-id: svn://ultimatepp.org/upp/trunk@6560 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-11-16 10:50:52 +00:00
parent 3a63d9d6af
commit 1f31a70c45

View file

@ -90,6 +90,7 @@ QtfDlg::QtfDlg()
SetRect(0, 0, r.GetWidth() - 100, r.GetHeight() - 200);
SetMinSize(Size(min(640, r.GetWidth() - 100), min(480, r.GetHeight() - 200)));
help.Margins(Rect(12, 0, 12, 0));
String path = AppendFileName(AppendFileName(PackageDirectory("RichText"), "srcdoc.tpp"), "QTF$en-us.tpp");
if(FileExists(path))
help.SetQTF(ReadTopic(LoadFile(path)).text);