svnno****@sourc*****
svnno****@sourc*****
2011年 9月 12日 (月) 22:23:45 JST
Revision: 1593 http://sourceforge.jp/projects/tween/svn/view?view=rev&revision=1593 Author: kiri_feather Date: 2011-09-12 22:23:45 +0900 (Mon, 12 Sep 2011) Log Message: ----------- Pixivのプレビューが効いていなかったので対応 Modified Paths: -------------- trunk/Tween/Thumbnail.vb -------------- next part -------------- Modified: trunk/Tween/Thumbnail.vb =================================================================== --- trunk/Tween/Thumbnail.vb 2011-09-12 13:08:31 UTC (rev 1592) +++ trunk/Tween/Thumbnail.vb 2011-09-12 13:23:45 UTC (rev 1593) @@ -1420,7 +1420,7 @@ If http.GetData(Regex.Replace(mc.Groups(0).Value, "amp;", ""), Nothing, src, 0, args.errmsg, "") Then Dim _mc As Match = Regex.Match(src, mc.Result("http://img([0-9]+)\.pixiv\.net/img/.+/${illustId}_[ms]\.([a-zA-Z]+)")) If _mc.Success Then - Dim _img As Image = http.GetImage(_mc.Value, args.url.Key, 0, args.errmsg) + Dim _img As Image = http.GetImage(_mc.Value, args.url.Value, 0, args.errmsg) If _img Is Nothing Then Return False args.pics.Add(New KeyValuePair(Of String, Image)(args.url.Key, _img)) args.tooltipText.Add(New KeyValuePair(Of String, String)(args.url.Key, ""))