aboutsummaryrefslogtreecommitdiff
path: root/src/dw-geomatic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dw-geomatic.c')
-rw-r--r--src/dw-geomatic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dw-geomatic.c b/src/dw-geomatic.c
index c5137e43..a2809cb0 100644
--- a/src/dw-geomatic.c
+++ b/src/dw-geomatic.c
@@ -367,8 +367,8 @@ static gint displaywindow_loadgeom_response(GtkWidget *d, gint response,
}
/* Validate geometry */
- if ( (1+det->max_x != dw->image->width)
- || (1+det->max_y != dw->image->height) ) {
+ if ( (1+det->max_fs != dw->image->width)
+ || (1+det->max_ss != dw->image->height) ) {
displaywindow_error(dw,
"Geometry does not match image size");