-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) double c[2]; double d[2]; - const double *left; - const double *right; - const double *top; - const double *bottom; - - left = &S.ortho.min_x; - right = &S.ortho.max_x; - bottom = &S.ortho.min_y; - top = &S.ortho.max_y; + const double *left = &S.ortho.min_x; + const double *right = &S.ortho.max_x; + const double *top = &S.ortho.max_y; + const double *bottom = &S.ortho.min_y; /* * This value should be a percentage of the world height so that it |