summaryrefslogtreecommitdiff
path: root/atk/atkimage.c
diff options
context:
space:
mode:
authorBill Haneman <billh@src.gnome.org>2006-03-20 12:44:29 +0000
committerBill Haneman <billh@src.gnome.org>2006-03-20 12:44:29 +0000
commitc1926f534b4605f421ef958ae1e7f3fb1d17a07e (patch)
tree5dd6bdebce8811192d15389e98dd2e8908497a51 /atk/atkimage.c
parent1a04f3331e862ce61af325069a5823bccf82eeb3 (diff)
downloadatk-c1926f534b4605f421ef958ae1e7f3fb1d17a07e.tar.gz
Fix Coverity-detected bugs in atkimage.c - allow for possibility
that NULL in-params were passed. Thanks to Behdad Estafood for finding problem.
Diffstat (limited to 'atk/atkimage.c')
-rwxr-xr-xatk/atkimage.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/atk/atkimage.c b/atk/atkimage.c
index d37332d..1f69fbc 100755
--- a/atk/atkimage.c
+++ b/atk/atkimage.c
@@ -103,8 +103,8 @@ atk_image_get_image_size (AtkImage *image,
}
else
{
- *width = -1;
- *height = -1;
+ *real_width = -1;
+ *real_height = -1;
}
}
@@ -182,8 +182,8 @@ atk_image_get_image_position (AtkImage *image,
}
else
{
- *x = -1;
- *y = -1;
+ *real_x = -1;
+ *real_y = -1;
}
}