OSDN Git Service

140文字オーバーの投稿で、URL自動短縮オフの時、短縮を選んでも機能しないバグ修正
authorkiri_feather <kiri_feather@users.sourceforge.jp>
Tue, 4 May 2010 05:31:34 +0000 (05:31 +0000)
committerKimura Youichi <kim.upsilon@bucyou.net>
Sat, 18 Feb 2012 14:11:58 +0000 (23:11 +0900)
ht.ly展開に対応

git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@244 e39ad16e-3079-482e-bb30-4b4d378143b6

Tween/Tween.vb
Tween/Twitter.vb

index 75d735e..9ffa72f 100644 (file)
@@ -1709,13 +1709,13 @@ Public Class TweenMain
         _history(_history.Count - 1) = StatusText.Text.Trim
 
         If SettingDialog.UrlConvertAuto Then
-            StatusText.SelectionStart = StatusText.Text.Length - 1
+            StatusText.SelectionStart = StatusText.Text.Length
             UrlConvertAutoToolStripMenuItem_Click(Nothing, Nothing)
         ElseIf SettingDialog.Nicoms Then
-            StatusText.SelectionStart = StatusText.Text.Length - 1
+            StatusText.SelectionStart = StatusText.Text.Length
             UrlConvert(UrlConverter.Nicoms)
         End If
-        StatusText.SelectionStart = StatusText.Text.Length - 1
+        StatusText.SelectionStart = StatusText.Text.Length
         Dim args As New GetWorkerArg()
         args.page = 0
         args.endPage = 0
index f34f8ea..4ca292c 100644 (file)
@@ -135,6 +135,7 @@ Public Class Twitter
             "http://youtu.be/", _
             "http://dlvr.it/", _
             "http://p.tl/", _
+            "http://ht.ly/", _
             "http://flic.kr/" _
         }