repo.or.cz
/
LibreOffice.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git]
/
external
/
libebook
/
ubsan.patch
blob
0a3ead259ea72eebcb3812084a3590d9667bdf4a
1
--- src/lib/LRFCollector.cpp
2
+++ src/lib/LRFCollector.cpp
3
@@ -50,7 +50,7 @@
4
{
5
assert(0 == bg.a);
6
7
- const double a = fg.a;
8
+ const double a = fg.a / 255.0;
9
10
const double r = (1 - a) * bg.r + a * fg.r;
11
const double g = (1 - a) * bg.g + a * fg.g;