summaryrefslogtreecommitdiff
path: root/src/wm-tester
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-03-16 09:09:37 +0100
committerraveit65 <[email protected]>2021-03-29 14:59:30 +0200
commit348151fd0204a4ae0aa76bc3312cf045d7a6a2dd (patch)
treeba01dfa09a34ea3727835cd5763937e1ce32df9f /src/wm-tester
parent0dee04e5b88d941bb727ffdc80d50966ca48d9f6 (diff)
downloadmarco-348151fd0204a4ae0aa76bc3312cf045d7a6a2dd.tar.bz2
marco-348151fd0204a4ae0aa76bc3312cf045d7a6a2dd.tar.xz
warning: declaration of a variable shadows a previous local
Diffstat (limited to 'src/wm-tester')
-rw-r--r--src/wm-tester/test-gravity.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wm-tester/test-gravity.c b/src/wm-tester/test-gravity.c
index 4276549b..cb8512a0 100644
--- a/src/wm-tester/test-gravity.c
+++ b/src/wm-tester/test-gravity.c
@@ -66,7 +66,7 @@ window_gravity_to_string (int gravity)
}
static void
-calculate_position (int i, int doubled, int *x, int *y)
+calculate_position (int i, int is_doubled, int *x, int *y)
{
if (i == 9)
{
@@ -77,7 +77,7 @@ calculate_position (int i, int doubled, int *x, int *y)
{
int xoff = x_offset[i % 3];
int yoff = y_offset[i / 3];
- if (doubled)
+ if (is_doubled)
{
xoff *= 2;
yoff *= 2;