OSDN Git Service
(root)
/
opentween
/
open-tween.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
512c7bc
)
Revert "ツイートの入力可能文字数に pic.twitter.com のURLをカウントしない"
author
Kimura Youichi
<kim.upsilon@bucyou.net>
Mon, 26 Sep 2016 11:54:27 +0000
(20:54 +0900)
committer
Kimura Youichi
<kim.upsilon@bucyou.net>
Mon, 26 Sep 2016 15:39:18 +0000
(
00:39
+0900)
This reverts commit
c93eecae6505c462148e566958992870278b536d
.
OpenTween/Tween.cs
patch
|
blob
|
history
diff --git
a/OpenTween/Tween.cs
b/OpenTween/Tween.cs
index
0277bd0
..
a4f3f3b
100644
(file)
--- a/
OpenTween/Tween.cs
+++ b/
OpenTween/Tween.cs
@@
-4816,6
+4816,11
@@
namespace OpenTween
//文字数カウント
var remainCount = this.tw.GetTextLengthRemain(statusText);
+ if (this.ImageSelector.Visible && !string.IsNullOrEmpty(this.ImageSelector.ServiceName))
+ {
+ remainCount -= this.tw.Configuration.CharactersReservedPerMedia;
+ }
+
return remainCount;
}