remove dead code
We make sure that arg >= 0 before this line, so check is redundant. CID 1100658
This commit is contained in:
parent
2263fd872e
commit
cd189663bd
|
@ -443,8 +443,8 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce)
|
|||
arg--;
|
||||
}
|
||||
else arg = 0;
|
||||
if (arg < 0) arg = 0;
|
||||
else if (arg >= ty->w) arg = ty->w - 1;
|
||||
|
||||
if (arg >= ty->w) arg = ty->w - 1;
|
||||
if (b) ty->state.cx = arg;
|
||||
}
|
||||
ty->state.cy += ty->state.margin_top;
|
||||
|
|
Loading…
Reference in New Issue