aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/html_promo.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-03 19:09:54 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-03 19:09:54 -0400
commit67e49a2b278b1512fb39a33a779f68a1389f9849 (patch)
treeb53682f4508b7a2a4a0c3042592b4f9f53f83975 /lib/sisu/v2/html_promo.rb
parentdal_numbering, heading auto-numbering, a fix (diff)
ansi, screen info related, arranging
Diffstat (limited to 'lib/sisu/v2/html_promo.rb')
-rw-r--r--lib/sisu/v2/html_promo.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/v2/html_promo.rb b/lib/sisu/v2/html_promo.rb
index df13393e..92ea15ec 100644
--- a/lib/sisu/v2/html_promo.rb
+++ b/lib/sisu/v2/html_promo.rb
@@ -405,8 +405,7 @@ WOK
end
end
else
- tell=SiSU_Screen::Ansi.new(@md.cmd,"category not found: #{category}")
- tell.warn unless @md.cmd =~/q/
+ SiSU_Screen::Ansi.new(@md.cmd,"category not found: #{category}").warn unless @md.cmd =~/q/
end
adverts.join
end