[Xfce4-commits] <moka:master> Fix error in the last commit.
Jannis Pohlmann
noreply at xfce.org
Mon Jan 17 18:14:01 CET 2011
Updating branch refs/heads/master
to ebf973ee4ba096800cd8d861913e42e9578587cc (commit)
from 62c9d2a289c4e137ef65163f3d086055563c228c (commit)
commit ebf973ee4ba096800cd8d861913e42e9578587cc
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Mon Jan 17 18:12:05 2011 +0100
Fix error in the last commit.
lib/controllers/announcements.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/controllers/announcements.rb b/lib/controllers/announcements.rb
index d43a8cf..435cdeb 100755
--- a/lib/controllers/announcements.rb
+++ b/lib/controllers/announcements.rb
@@ -25,7 +25,7 @@ module Moka
unless error_set?
group_length = if env['identica'].group then 1 + env['identica'].group.size else 0 end
- if params[:text].size > (140 - group_string_length)
+ if params[:text].size > (140 - group_length)
if group_length > 0
error_set(:text, "Message length is limited to 140 characters including the <tt>!#{env['identica'].group}</tt> that will be appended to the message.")
else
More information about the Xfce4-commits
mailing list