We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df1c018 commit 632a864Copy full SHA for 632a864
indra/llwindow/llwindowwin32.cpp
@@ -4040,7 +4040,15 @@ void LLWindowWin32::fillCompositionLogfont(LOGFONT *logfont)
4040
break;
4041
}
4042
4043
- logfont->lfHeight = mPreeditor->getPreeditFontSize();
+ if (mPreeditor)
4044
+ {
4045
+ logfont->lfHeight = mPreeditor->getPreeditFontSize();
4046
+ }
4047
+ else
4048
4049
+ // todo: extract from some font * LLUI::getScaleFactor() intead
4050
+ logfont->lfHeight = 10;
4051
4052
logfont->lfWeight = FW_NORMAL;
4053
4054
0 commit comments