riched20: Removed unneeded NULL check (Coverity).
This commit is contained in:
parent
1082779ddc
commit
4662271afd
|
@ -4059,7 +4059,7 @@ LRESULT ME_HandleMessage(ME_TextEditor *editor, UINT msg, WPARAM wParam,
|
|||
origNPos = editor->vert_si.nPos;
|
||||
lineHeight = 24;
|
||||
|
||||
if (editor && editor->pBuffer && editor->pBuffer->pDefaultStyle)
|
||||
if (editor->pBuffer && editor->pBuffer->pDefaultStyle)
|
||||
lineHeight = editor->pBuffer->pDefaultStyle->tm.tmHeight;
|
||||
if (lineHeight <= 0) lineHeight = 24;
|
||||
|
||||
|
|
Loading…
Reference in New Issue