First fix from coverity, removing one line of dead code.

The if statement above this line makes it so this line will never be
true, so its not needed.

Kent
This commit is contained in:
Kent Mein 2007-05-08 16:00:13 +00:00
parent ff6585e584
commit 2b6813bc0b

@ -690,12 +690,10 @@ static void draw_cursor(SpaceText *st) {
if(st->showlinenrs) {
if (!x) x= TXT_OFFSET + TEXTXLOC -4;
}
else {
} else {
if (!x) x= TXT_OFFSET - 4;
}
if (!x) x= TXT_OFFSET-10;
while (linef && linef != linel) {
h= txt_get_span(text->lines.first, linef) - st->top;
if (h>st->viewlines) break;