diff options
author | Robin Gareus <robin@gareus.org> | 2019-11-19 03:19:08 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-11-19 04:41:12 +0100 |
commit | 7aaf212a9bb51dec1f0823a3e653fbd0f62873d0 (patch) | |
tree | 8d4ef56053f9340ddc6d81c448557c2d8cdde3df /gtk2_ardour/luainstance.cc | |
parent | 7b733eb3f0286f132aacd1cbf1cb91368742676f (diff) |
Fix Lua Pangolayout ellipsis width
Diffstat (limited to 'gtk2_ardour/luainstance.cc')
-rw-r--r-- | gtk2_ardour/luainstance.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |