aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-07-19 23:23:02 -0400
committerRalph Amissah <ralph@amissah.com>2008-07-19 23:23:02 -0400
commit839d4f18a107a5b809d064623714fecd10dcb736 (patch)
tree1ef65eb2d3aa1ada567a397cb4ef84055f3efc02 /lib
parenttexpdf papersize adjustments primarily for portrait sizes a5 & b5 (diff)
action response query fix
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v0/constants.rb2
-rw-r--r--lib/sisu/v0/response.rb2
-rw-r--r--lib/sisu/v0/sst_to_s_xml_node.rb6
3 files changed, 4 insertions, 6 deletions
diff --git a/lib/sisu/v0/constants.rb b/lib/sisu/v0/constants.rb
index 883f1c00..1fa40fb1 100644
--- a/lib/sisu/v0/constants.rb
+++ b/lib/sisu/v0/constants.rb
@@ -60,7 +60,5 @@
=end
-SQL_TEST_FILE=File.new('sqlite3_insert.sql','w+')
-
__END__
diff --git a/lib/sisu/v0/response.rb b/lib/sisu/v0/response.rb
index ba3c1a82..cce90d49 100644
--- a/lib/sisu/v0/response.rb
+++ b/lib/sisu/v0/response.rb
@@ -69,7 +69,7 @@ module SiSU_Response
elsif response == 'no'; false
elsif response =~/^quit|exit$/; exit
else puts "[please type: 'yes', 'no' or 'quit']"
- answer?(ask)
+ response?(ask)
end
ans
end
diff --git a/lib/sisu/v0/sst_to_s_xml_node.rb b/lib/sisu/v0/sst_to_s_xml_node.rb
index 76e30b60..697a7a77 100644
--- a/lib/sisu/v0/sst_to_s_xml_node.rb
+++ b/lib/sisu/v0/sst_to_s_xml_node.rb
@@ -441,9 +441,9 @@ WOK
if para
if @rcdc==false \
and (para =~/~metadata/ or para =~/^1~meta\s+Document Information/)
- if para !~/(^0~|^@\S+?:|^\s*$|<ENDNOTES>|<EOF>)/
- @rcdc=true
- end
+ if para !~/(^0~|^@\S+?:|^\s*$|<ENDNOTES>|<EOF>)/
+ @rcdc=true
+ end
@sto=SiSU_text_parts::Split_text_object.new(@md,para).lev_segname_para
unless @rcdc
format_scroll=SiSU_XML_format::Format_scroll.new(@md,@sto.text) if @sto.format =~/i[12]|null/