summaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test.c b/test/test.c
index 67cf4c301..4277f8172 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1721,9 +1721,7 @@ static int HandleEvents( hb_handle_t * h )
hb_geometry_t srcGeo, resultGeo;
hb_geometry_settings_t uiGeo;
- srcGeo.width = title->geometry.width;
- srcGeo.height = title->geometry.height;
- srcGeo.par = title->geometry.par;
+ srcGeo = title->geometry;
keep_display_aspect |= anamorphic_mode != HB_ANAMORPHIC_CUSTOM;
uiGeo.mode = anamorphic_mode;