From 7aaf212a9bb51dec1f0823a3e653fbd0f62873d0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 19 Nov 2019 03:19:08 +0100 Subject: [PATCH] Fix Lua Pangolayout ellipsis width --- gtk2_ardour/luainstance.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/luainstance.cc b/gtk2_ardour/luainstance.cc index 49b794823d..fa858888a3 100644 --- a/gtk2_ardour/luainstance.cc +++ b/gtk2_ardour/luainstance.cc @@ -210,7 +210,7 @@ class PangoLayout { * @param width The desired width in Pango units, or -1 to indicate that no * wrapping or ellipsization should be performed. */ - void set_width (int width) { + void set_width (float width) { _layout->set_width (width * PANGO_SCALE); }