projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'origin/sheet'
[pspp]
/
src
/
output
/
cairo.c
diff --git
a/src/output/cairo.c
b/src/output/cairo.c
index 8cb504d2dd0e877309fb916a241e69439de031bc..ef0b593233e67f7e03867926d35753536314166f 100644
(file)
--- a/
src/output/cairo.c
+++ b/
src/output/cairo.c
@@
-1542,7
+1542,7
@@
xr_chart_render (struct xr_render_fsm *fsm, struct xr_driver *xr)
{
struct xr_chart_state *cs = UP_CAST (fsm, struct xr_chart_state, fsm);
- const int chart_height =
xr->length
;
+ const int chart_height =
0.8 * (xr->length < xr->width ? xr->length : xr->width)
;
if (xr->y > xr->length - chart_height)
return true;