Fixed crash in translation assistant

Originally committed to SVN as r752.
This commit is contained in:
Rodrigo Braz Monteiro 2007-01-09 22:46:22 +00:00
parent bae00f3734
commit 08ff09ee59
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ bool DialogTranslation::JumpToLine(int n,int block) {
wxTextAttr Normal(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT)); wxTextAttr Normal(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT));
wxTextAttr Highlight(wxColour(0,0,255)); wxTextAttr Highlight(wxColour(0,0,255));
wxFont font = Normal.GetFont(); wxFont font = Normal.GetFont();
font.SetPointSize(Options.AsInt(_T("Font Size"))); font.SetPointSize(Options.AsInt(_T("Edit Font Size")));
Normal.SetFont(font); Normal.SetFont(font);
Highlight.SetFont(font); Highlight.SetFont(font);