Commit 4662271a authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

riched20: Removed unneeded NULL check (Coverity).

parent 1082779d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment