From 671b037338fa6bc09dc0795191a23ff2999f027c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 17 Mar 2021 16:22:16 +0100 Subject: [PATCH] Stop truncated numbers on Linux (at least). --- src/wx/timecode.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/timecode.cc b/src/wx/timecode.cc index c4755e574..70aa116dd 100644 --- a/src/wx/timecode.cc +++ b/src/wx/timecode.cc @@ -131,7 +131,7 @@ wxSize TimecodeBase::size (wxWindow* parent) { wxClientDC dc (parent); - auto size = dc.GetTextExtent(wxT("9999")); + auto size = dc.GetTextExtent(wxT("99999")); size.SetHeight (-1); return size; } -- 2.30.2