From f9599c07b74a871380feaa6a333a66d29896e977 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Thu, 25 Apr 2024 21:21:13 +0200 Subject: [PATCH] Fixed issue #29 --- src/macros/xsection.lym | 2 +- src/ruby/xsection_script.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/macros/xsection.lym b/src/macros/xsection.lym index 7c2639b..aaf91ff 100644 --- a/src/macros/xsection.lym +++ b/src/macros/xsection.lym @@ -32,7 +32,7 @@ require_relative("../ruby/xsection") module XS # UPDATE THE VERSION NUMBER ON EACH RELEASE HERE - VERSION = "1.7" + VERSION = "1.8" @xsection_processing_environment = XSectionScriptEnvironment.new diff --git a/src/ruby/xsection_script.rb b/src/ruby/xsection_script.rb index 5eff3d5..029db3f 100644 --- a/src/ruby/xsection_script.rb +++ b/src/ruby/xsection_script.rb @@ -197,7 +197,7 @@ def run_script(fn, p1 = nil, p2 = nil, batch = false) if p1 && p2 # take the given line - pts << [[[ p1, p2 ]]] + pts << [[ p1, p2 ]] else