Skip to content

Commit

Permalink
If > then should be 0 up to x - 1, stoopid
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric de Villamil committed Aug 15, 2013
1 parent 2fdec2b commit cdd6e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def send_to_twitter(user)
short_permalink = build_short_link(length)

if length > 114
message = "#{message[0..114]}#{short_permalink}"
message = "#{message[0..113]}#{short_permalink}"
else
message = "#{message}#{short_permalink}"
end
Expand Down

0 comments on commit cdd6e30

Please sign in to comment.