projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a95c39c
)
Fix divide-by-zero crash
author
Søren Sandmann Pedersen
<sandmann@redhat.com>
Sat, 9 May 2009 12:34:12 +0000
(08:34 -0400)
committer
Søren Sandmann Pedersen
<sandmann@redhat.com>
Sat, 9 May 2009 12:34:12 +0000
(08:34 -0400)
pixman/pixman-matrix.c
patch
|
blob
|
history
diff --git
a/pixman/pixman-matrix.c
b/pixman/pixman-matrix.c
index
8e3a3c0
..
79dae8d
100644
(file)
--- a/
pixman/pixman-matrix.c
+++ b/
pixman/pixman-matrix.c
@@
-93,7
+93,7
@@
pixman_transform_point(const struct pixman_transform *transform,
v[j] += partial >> 2;
}
}
- if (!
v[2]
)
+ if (!
(v[2] >> 16)
)
return FALSE;
for (j = 0; j < 2; j++)
{