diff options
Diffstat (limited to 'net-im/mikutter/files')
-rw-r--r-- | net-im/mikutter/files/patch-core_mui_gtk__postbox.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/mikutter/files/patch-core_mui_gtk__postbox.rb b/net-im/mikutter/files/patch-core_mui_gtk__postbox.rb new file mode 100644 index 000000000000..65e97c0859d7 --- /dev/null +++ b/net-im/mikutter/files/patch-core_mui_gtk__postbox.rb @@ -0,0 +1,11 @@ +--- core/mui/gtk_postbox.rb.orig 2017-10-08 12:29:16 UTC ++++ core/mui/gtk_postbox.rb +@@ -290,7 +290,7 @@ module Gtk + def remain_charcount + if not widget_post.destroyed? + text = trim_hidden_regions(widget_post.buffer.text + UserConfig[:footer]) +- Twitter::Extractor.extract_urls(text).map{|url| ++ Twitter::TwitterText::Extractor.extract_urls(text).map{|url| + if url.length < posted_url_length(url) + -(posted_url_length(url) - url.length) + else |