From 4662271afdbcf67e87fafb847f7c0431dc8e0e77 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 29 Jan 2009 09:26:40 +0100 Subject: [PATCH] riched20: Removed unneeded NULL check (Coverity). --- dlls/riched20/editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index 4495fb4d7c2..574118aede4 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -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;