summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-09-01 02:41:50 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-09-01 02:41:50 -0500
commitf1e126863717cb77feb896fade04b59535a29159 (patch)
treef42a6fd46710edda9d725acc5c94c97b349be55b
parentdd2c62acb308dd56b519e6e60935fbd4b7fdec0a (diff)
downloadopacify-compiz-0.8.tar.gz
opacify-compiz-0.8.tar.bz2
Fix possible segfault on 64-bit arch. due to passing 0 to va_list and retrieving it as pointer.compiz-0.8
-rw-r--r--opacify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opacify.c b/opacify.c
index 29df5f7..0226cab 100644
--- a/opacify.c
+++ b/opacify.c
@@ -208,9 +208,9 @@ opacifyHandleEnter (CompScreen *s,
{
OPACIFY_SCREEN (s);
- if (otherScreenGrabExist (s, 0))
+ if (otherScreenGrabExist (s, NULL))
{
- if (!otherScreenGrabExist (s, "move", 0))
+ if (!otherScreenGrabExist (s, "move", NULL))
{
os->justMoved = TRUE;
return;