aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/odf_format.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/odf_format.rb')
-rw-r--r--lib/sisu/v3/odf_format.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v3/odf_format.rb b/lib/sisu/v3/odf_format.rb
index cd998f43..62eae47a 100644
--- a/lib/sisu/v3/odf_format.rb
+++ b/lib/sisu/v3/odf_format.rb
@@ -167,9 +167,9 @@ module SiSU_ODF_Format
end
end
def table_head_open(count)
- type=if @dob.head_; 1
- else 2
- end
+ type=(@dob.head_) \
+ ? 1
+ : 2
alpha=case @dob.cols
when 1; 'A'
when 2; 'B'