riched20: Removed unneeded NULL check (Coverity).

oldstable
Marcus Meissner 2009-01-29 09:26:40 +01:00 committed by Alexandre Julliard
parent 1082779ddc
commit 4662271afd
1 changed files with 1 additions and 1 deletions

View File

@ -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;