From 9c54f61a5098c33d68ea1090e7ad7ef345c6767f Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 16 Jul 2004 20:28:43 +0000 Subject: [PATCH] Incorporate Micheal Neumanns client-side imagemap patch git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/rdoc/diagram.rb | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index db7521883e..b313f069ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Jul 17 05:26:27 2004 Dave Thomas + + * lib/rdoc/diagram.rb: Incorporate Micheal Neumann's + client-side imagemao patch + Fri Jul 16 11:17:38 2004 Nobuyoshi Nakada * error.c (exit_initialize): use EXIT_SUCCESS instead of 0. diff --git a/lib/rdoc/diagram.rb b/lib/rdoc/diagram.rb index 3ff36c1d03..40335e854b 100644 --- a/lib/rdoc/diagram.rb +++ b/lib/rdoc/diagram.rb @@ -309,7 +309,7 @@ module RDoc # the page def wrap_in_image_map(src, dot, name) - res = %{\n} + res = %{\n} dot_map = `dot -Tismap #{src}` dot_map.each do |area| unless area =~ /^rectangle \((\d+),(\d+)\) \((\d+),(\d+)\) ([\/\w.]+)\s*(.*)/ @@ -317,10 +317,10 @@ module RDoc return nil end - blx = $1; bly = $2 - trx = $3; try = $4 - url = $5; area_name = $6 - res << %{ #{area_name}\n} end res << "\n"