aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/shared_markup_alt.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-03 19:14:10 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-03 19:14:10 -0400
commit65124198251d6e0ac59294f76c30644ad4fac6d5 (patch)
treedc50da8382c66172f740cd233517c7f7243be23e /lib/sisu/v2/shared_markup_alt.rb
parentdebian/changelog (2.3.1-1) (diff)
parentupdate: changelog, version (2.3.2) (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v2/shared_markup_alt.rb')
-rw-r--r--lib/sisu/v2/shared_markup_alt.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/v2/shared_markup_alt.rb b/lib/sisu/v2/shared_markup_alt.rb
index 71405e02..52ecfe24 100644
--- a/lib/sisu/v2/shared_markup_alt.rb
+++ b/lib/sisu/v2/shared_markup_alt.rb
@@ -260,8 +260,7 @@ module SiSU_text_representation
elsif FileTest.file?("#{@env.path.image_source_tex}/#{i}")
@env.path.image_source_tex
else
- tell=SiSU_Screen::Ansi.new(@md.cmd,"ERROR - image:", %{"#{i}" missing}, "search locations: #{@env.path.image_source_local_tex}, #{@env.path.image_source_remote_tex} and #{@env.path.image_source_tex}")
- tell.error2 unless @md.cmd =~/q/
+ SiSU_Screen::Ansi.new(@md.cmd,"ERROR - image:", %{"#{i}" missing}, "search locations: #{@env.path.image_source_local_tex}, #{@env.path.image_source_remote_tex} and #{@env.path.image_source_tex}").error2 unless @md.cmd =~/q/
nil
end
img_type = /\S+\.(png|jpg|gif)/.match(i)[1]