in-ini: correct indentation for entries outside groups
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 06 Sep 2014 20:31:05 +0200
changeset 854f7028b5f2fe
parent 84 1a09966c072c
child 86 1d31d9cd28c8
in-ini: correct indentation for entries outside groups
java/alt2xml-in-ini/src/cz/frantovo/alt2xml/in/ini/Reader.java
     1.1 --- a/java/alt2xml-in-ini/src/cz/frantovo/alt2xml/in/ini/Reader.java	Sat Sep 06 20:07:02 2014 +0200
     1.2 +++ b/java/alt2xml-in-ini/src/cz/frantovo/alt2xml/in/ini/Reader.java	Sat Sep 06 20:31:05 2014 +0200
     1.3 @@ -144,7 +144,7 @@
     1.4  
     1.5  						}
     1.6  
     1.7 -						fc.contentHandler.indentation(2);
     1.8 +						fc.contentHandler.indentation(fc.lastSection == null ? 1 : 2);
     1.9  						fc.contentHandler.textElement(value, null, null, key, null);
    1.10  						fc.contentHandler.lineBreak();
    1.11