OSDN Git Service

DELETEイベント処理微修正
authorsyo68k <syo68k@users.sourceforge.jp>
Wed, 19 Jan 2011 03:39:14 +0000 (03:39 +0000)
committerKimura Youichi <kim.upsilon@bucyou.net>
Sat, 18 Feb 2012 14:18:35 +0000 (23:18 +0900)
git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@1374 e39ad16e-3079-482e-bb30-4b4d378143b6

Tween/Twitter.vb

index cf443fb..c6dd0e2 100644 (file)
@@ -2870,7 +2870,7 @@ Public Class Twitter
                 evt.Event = "DELETE(Post)"
             End If
             evt.Username = post.Name
-            evt.Target = If(post.Data.Length > 5, post.Data.Substring(0, 5) + "...", post.Data) + " [" + post.PDate.ToString + "]"
+            evt.Target = If(post.Data.Length > 10, post.Data.Substring(0, 10) + "...", post.Data) + " [" + post.PDate.ToString + "]"
         End If
         For i As Integer = Me.StoredEvent.Count - 1 To 0 Step -1
             Dim sEvt As FormattedEvent = Me.StoredEvent(i)