aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/texinfo.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v5/texinfo.rb')
-rw-r--r--lib/sisu/v5/texinfo.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/sisu/v5/texinfo.rb b/lib/sisu/v5/texinfo.rb
index 2e92268a..ba890be3 100644
--- a/lib/sisu/v5/texinfo.rb
+++ b/lib/sisu/v5/texinfo.rb
@@ -8,7 +8,8 @@
* Author: Ralph Amissah
* Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008, 2009, 2010, 2011, 2012, 2013 Ralph Amissah, All Rights Reserved.
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Ralph Amissah,
+ All Rights Reserved.
* License: GPL 3 or later:
@@ -310,9 +311,9 @@ module SiSU_TexInfo
mono=SiSU_TexInfoFormat::Texinfo.new(@md,dob)
if dob.is==:heading
case dob.ln
- when 1; dob=mono.level1
- when 2; dob=mono.level2
- when 3; dob=mono.level3
+ when 1 then dob=mono.level1
+ when 2 then dob=mono.level2
+ when 3 then dob=mono.level3
when 4;
dob=mono.level4
n_menu+=1