XMLPrinter: Fix first line indentation
Fix indentation of first line when called with !compactMode.
This commit is contained in:
@@ -2332,6 +2332,11 @@ protected:
|
||||
DynArray< const char*, 10 > _stack;
|
||||
|
||||
private:
|
||||
/**
|
||||
Prepares to write a new node. This includes sealing an element that was
|
||||
just opened, and writing any whitespace necessary if not in compact mode.
|
||||
*/
|
||||
void PrepareForNewNode( bool compactMode );
|
||||
void PrintString( const char*, bool restrictedEntitySet ); // prints out, after detecting entities.
|
||||
|
||||
bool _firstElement;
|
||||
|
||||
Reference in New Issue
Block a user