-rw-r--r-- | src/model/geometry/density_legend_geometry.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/model/geometry/density_legend_geometry.c b/src/model/geometry/density_legend_geometry.c index ac3280c..af40e5e 100644 --- a/src/model/geometry/density_legend_geometry.c +++ b/src/model/geometry/density_legend_geometry.c | |||
@@ -22,15 +22,10 @@ density_legend_geometry (void) | |||
22 | double c[2]; | 22 | double c[2]; |
23 | double d[2]; | 23 | double d[2]; |
24 | 24 | ||
25 | const double *left; | 25 | const double *left = &S.ortho.min_x; |
26 | const double *right; | 26 | const double *right = &S.ortho.max_x; |
27 | const double *top; | 27 | const double *top = &S.ortho.max_y; |
28 | const double *bottom; | 28 | const double *bottom = &S.ortho.min_y; |
29 | |||
30 | left = &S.ortho.min_x; | ||
31 | right = &S.ortho.max_x; | ||
32 | bottom = &S.ortho.min_y; | ||
33 | top = &S.ortho.max_y; | ||
34 | 29 | ||
35 | /* | 30 | /* |
36 | * This value should be a percentage of the world height so that it | 31 | * This value should be a percentage of the world height so that it |