diff options
author | Neil <nyamatongwe@gmail.com> | 2019-04-02 09:21:55 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-04-02 09:21:55 +1100 |
commit | 8bc708968f24af7c6aabe6704b03062d6a01bb92 (patch) | |
tree | fcf8fe11066081c4923c3b09385e59bd09cfdcc5 /src | |
parent | 8c406e0fc4bebda5501d520f1c177fc48d38cd93 (diff) | |
download | scintilla-mirror-8bc708968f24af7c6aabe6704b03062d6a01bb92.tar.gz |
Removed variable which duplicated meaning of earlier variable.
Diffstat (limited to 'src')
-rw-r--r-- | src/EditView.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx index a4088cc88..91d5da13d 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -1219,7 +1219,6 @@ void EditView::DrawFoldDisplayText(Surface *surface, const EditModel &model, con rcSegment.right = rcSegment.left + static_cast<XYPOSITION>(widthFoldDisplayText); const ColourOptional background = vsDraw.Background(model.pdoc->GetMark(line), model.caret.active, ll->containsCaret); - FontAlias textFont = vsDraw.styles[STYLE_FOLDDISPLAYTEXT].font; ColourDesired textFore = vsDraw.styles[STYLE_FOLDDISPLAYTEXT].fore; if (eolInSelection && (vsDraw.selColours.fore.isSet)) { textFore = (eolInSelection == 1) ? vsDraw.selColours.fore : vsDraw.selAdditionalForeground; @@ -1248,11 +1247,11 @@ void EditView::DrawFoldDisplayText(Surface *surface, const EditModel &model, con if (phase & drawText) { if (phasesDraw != phasesOne) { - surface->DrawTextTransparent(rcSegment, textFont, + surface->DrawTextTransparent(rcSegment, fontText, rcSegment.top + vsDraw.maxAscent, foldDisplayText, textFore); } else { - surface->DrawTextNoClip(rcSegment, textFont, + surface->DrawTextNoClip(rcSegment, fontText, rcSegment.top + vsDraw.maxAscent, foldDisplayText, textFore, textBack); } |