From 45923ef4c7bbd0454c58887770c437e1f2232e31 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 13 Oct 2025 23:34:59 +0200 Subject: Fix incorrect use of raw_convert (should be locale_convert). --- src/wx/custom_scale_dialog.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/wx/custom_scale_dialog.cc b/src/wx/custom_scale_dialog.cc index 4e7b70f88..bcdd0791f 100644 --- a/src/wx/custom_scale_dialog.cc +++ b/src/wx/custom_scale_dialog.cc @@ -22,7 +22,7 @@ #include "custom_scale_dialog.h" #include "wx_util.h" #include "lib/util.h" -#include +#include #include LIBDCP_DISABLE_WARNINGS #include @@ -98,7 +98,7 @@ CustomScaleDialog::CustomScaleDialog(wxWindow* parent, dcp::Size initial, dcp::S void CustomScaleDialog::update_size_from_ratio() { - dcp::Size const s = fit_ratio_within(raw_convert(wx_to_std(_ratio->GetValue())), _film_container); + auto const s = fit_ratio_within(locale_convert(wx_to_std(_ratio->GetValue())), _film_container); _size_from_ratio->SetLabelMarkup(wxString::Format(char_to_wx("%dx%d"), s.width, s.height)); } @@ -129,7 +129,7 @@ CustomScaleDialog::custom_ratio() const return optional(); } - return raw_convert(wx_to_std(_ratio->GetValue())); + return locale_convert(wx_to_std(_ratio->GetValue())); } -- cgit v1.2.3