terminology: Don't shadow a previous local i here.

I is such a popular variable name. :)

SVN revision: 78371
This commit is contained in:
Stefan Schmidt 2012-10-23 14:47:51 +00:00
parent 2c18ec8ba2
commit 8b54f15969
1 changed files with 2 additions and 2 deletions

View File

@ -832,13 +832,13 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce)
*/
case 'Z': // Cursor Back Tab
{
int i, size, cx = ty->state.cx, cy = ty->state.cy;
int idx, size, cx = ty->state.cx, cy = ty->state.cy;
arg = _csi_arg_get(&b);
if (arg < 1) arg = 1;
size = ty->w * cy + cx + 1;
for (i = size - 1; i >= 0; i--)
for (idx = size - 1; idx >= 0; idx--)
{
if (ty->screen[cx + (cy * ty->w)].att.tab) arg--;
cx--;