Better fix for bug #1155888

This commit is contained in:
jean-pierre charras 2013-03-27 20:36:10 +01:00
parent 5874ac0f6f
commit e90fc3a9b2
1 changed files with 2 additions and 2 deletions

View File

@ -330,8 +330,8 @@ void PAGE_INFO::Format( OUTPUTFORMATTER* aFormatter, int aNestLevel, int aContro
GetCustomWidthMils() * 25.4 / 1000.0,
GetCustomHeightMils() * 25.4 / 1000.0 );
if( IsPortrait() )
aFormatter->Print( 0, " portrait" );
if( !IsCustom() && IsPortrait() )
aFormatter->Print( 0, " portrait" );
aFormatter->Print( 0, ")\n" );
}