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:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user