From ca748bc1df7f1786c4ee7bda5c8289da451aec1c Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Mon, 21 Apr 2025 15:46:10 +0300 Subject: [PATCH] Fix automatic center filter. --- od-win32/win32_scaler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/od-win32/win32_scaler.cpp b/od-win32/win32_scaler.cpp index e679350e..c36673bd 100644 --- a/od-win32/win32_scaler.cpp +++ b/od-win32/win32_scaler.cpp @@ -305,7 +305,7 @@ void getfilterdata(int monid, struct displayscale *ds) if (scalemode == AUTOSCALE_STATIC_NOMINAL || scalemode == AUTOSCALE_STATIC_NOMINAL || scalemode == AUTOSCALE_STATIC_MAX) { // do not default/TV scale programmed modes if (programmedmode) { - goto cont; + goto skipcont; } } @@ -618,7 +618,7 @@ void getfilterdata(int monid, struct displayscale *ds) } } else { - cont: +skipcont: ds->outwidth = ds->dstwidth; ds->outheight = ds->dstheight; @@ -626,7 +626,7 @@ void getfilterdata(int monid, struct displayscale *ds) ds->yoffset = (ds->srcheight - ds->dstheight) / 2; } - +cont: if (!filter_horiz_zoom_mult && !filter_vert_zoom_mult) { sizeoffset(ds, extraw, extrah); -- 2.47.3