diff options
Diffstat (limited to 'infinite.cpp')
-rw-r--r-- | infinite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/infinite.cpp b/infinite.cpp index d9b17c8..501dddc 100644 --- a/infinite.cpp +++ b/infinite.cpp | |||
@@ -790,7 +790,7 @@ int main(int argc, char** argv) | |||
790 | } | 790 | } |
791 | 791 | ||
792 | std::string tweetText; | 792 | std::string tweetText; |
793 | size_t tweetLim = 140 - client.getConfiguration().getCharactersReservedPerMedia() - client.getUser().getScreenName().length() - 5; | 793 | size_t tweetLim = 140 - client.getConfiguration().getCharactersReservedPerMedia() - client.getUser().getScreenName().length() - 6; |
794 | if (action.length() > tweetLim) | 794 | if (action.length() > tweetLim) |
795 | { | 795 | { |
796 | tweetText = "\"" + action.substr(0, tweetLim - 1) + "…\" --@" + client.getUser().getScreenName(); | 796 | tweetText = "\"" + action.substr(0, tweetLim - 1) + "…\" --@" + client.getUser().getScreenName(); |