remove dead code

We make sure that arg >= 0 before this line, so check is redundant.

CID 1100658
This commit is contained in:
Sebastian Dransfeld 2014-03-24 13:40:05 +01:00
parent 2263fd872e
commit cd189663bd
1 changed files with 2 additions and 2 deletions

View File

@ -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;