From bc9b14fe0acf77538706a0e4d51067dd882e0892 Mon Sep 17 00:00:00 2001 From: Nick Gammon Date: Mon, 13 Jun 2011 09:43:15 +1000 Subject: [PATCH] Fixed bug where NoteHr line would draw through timestamps --- mushview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mushview.cpp b/mushview.cpp index ab98e60d..c76ab900 100644 --- a/mushview.cpp +++ b/mushview.cpp @@ -1373,7 +1373,7 @@ previousLineHPtime.QuadPart = 0; GetClientRect (&cr); SetRect (&r, - pDoc->m_iPixelOffset + 10, + pDoc->m_iPixelOffset + 10 + pixel, - pDoc->m_iPixelOffset + line * pDoc->m_FontHeight + iHalfFontHeight, cr.right - 10 - pDoc->m_iPixelOffset, - pDoc->m_iPixelOffset + line * pDoc->m_FontHeight + iHalfFontHeight + 1);