projects
/
platform
/
upstream
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15b5960
)
Fix pixman_fill() to return TRUE when it succeeded
author
Søren Sandmann Pedersen
<sandmann@redhat.com>
Tue, 19 Jun 2007 14:40:58 +0000
(10:40 -0400)
committer
Søren Sandmann Pedersen
<sandmann@redhat.com>
Tue, 19 Jun 2007 14:40:58 +0000
(10:40 -0400)
pixman/pixman-utils.c
patch
|
blob
|
history
diff --git
a/pixman/pixman-utils.c
b/pixman/pixman-utils.c
index
11fec4e
..
b15b818
100644
(file)
--- a/
pixman/pixman-utils.c
+++ b/
pixman/pixman-utils.c
@@
-170,7
+170,6
@@
pixman_fill (uint32_t *bits,
{
case 8:
pixman_fill8 (bits, stride, x, y, width, height, xor);
- return TRUE;
break;
case 16:
@@
-180,10
+179,14
@@
pixman_fill (uint32_t *bits,
case 32:
pixman_fill32 (bits, stride, x, y, width, height, xor);
break;
+
+ default:
+ return FALSE;
+ break;
}
}
- return
FALS
E;
+ return
TRU
E;
}