diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-10 14:13:20 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-06-07 13:31:41 +1000 |
commit | d034605f3914e41e0d636eafff9278be1c041b2c (patch) | |
tree | 70e756a8aa2e96af45f5ee1ad8e0071a7a2387ce | |
parent | a86f3ef511db16be5ddc723bf14e770dad23ee45 (diff) |
dix: rename shadowing loop variable in TouchResizeQueue
second 'i' shadows the function-wide one, rename to 'j'
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r-- | dix/touch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dix/touch.c b/dix/touch.c index 082e8f603..aa17faf28 100644 --- a/dix/touch.c +++ b/dix/touch.c @@ -103,11 +103,11 @@ TouchResizeQueue(ClientPtr client, pointer closure) tmp = realloc(dev->last.touches, size * sizeof(*dev->last.touches)); if (tmp) { - int i; + int j; dev->last.touches = tmp; - for (i = dev->last.num_touches; i < size; i++) - TouchInitDDXTouchPoint(dev, &dev->last.touches[i]); + for (j = dev->last.num_touches; j < size; j++) + TouchInitDDXTouchPoint(dev, &dev->last.touches[j]); dev->last.num_touches = size; } |