Commit 83314c4
committed
Fix background rectangle coordinates
marginX()/marginY() return unsigned values, so negating them
caused unsigned wraparound and passed huge coordinates to
cairo_rectangle().
Cast them to signed/double before negation.1 parent ce35534 commit 83314c4
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
268 | | - | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
269 | 272 | | |
270 | 273 | | |
271 | 274 | | |
| |||
0 commit comments