aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/dp.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-04-14 11:10:59 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2020-05-09 20:40:02 -0400
commit88ed8a0c1376fbe6d45059694ce31db597fde3e9 (patch)
tree4fb95449893c488b2954bf432db4997829f54284 /lib/sisu/dp.rb
parentemacs sisu-mode.el, syntax highlighting match https (diff)
ruby 2.7 fix
Diffstat (limited to 'lib/sisu/dp.rb')
-rw-r--r--lib/sisu/dp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/dp.rb b/lib/sisu/dp.rb
index 522510ad..3c7b9203 100644
--- a/lib/sisu/dp.rb
+++ b/lib/sisu/dp.rb
@@ -1305,8 +1305,8 @@ module SiSU_Param
end
if @home_button_image \
and @home_button_image.is_a?(Hash) \
- and (@home_button_image =~@rgx_image \
- or @home_button_image =~/\S+?\.(?:jpg|png|gif)/)
+ and (@home_button_image[:home] =~@rgx_image \
+ or @home_button_image[:home] =~/\S+?\.(?:jpg|png|gif)/)
@ec[:image] << @home_button_image
end
if @ec[:image].length > 0