Fix bug: Dialog "Page settings" does not always detect page format. Formats A, B, C, D, E, Custom (User) are detected right but A0-A4, US* are wrong.

This commit is contained in:
unknown 2014-10-17 10:14:30 +02:00 committed by jean-pierre charras
parent a4c59e6b97
commit 5a947e6759
1 changed files with 2 additions and 2 deletions

View File

@ -725,9 +725,9 @@ void DIALOG_PAGES_SETTINGS::GetPageLayoutInfoFromDialog()
for( i=0; i < DIM( papers ); ++i ) for( i=0; i < DIM( papers ); ++i )
{ {
if( paperType.Contains( *papers[i] ) ) if( paperType.Contains( papers[i] ) )
{ {
pageInfo.SetType( *papers[i] ); pageInfo.SetType( papers[i] );
break; break;
} }
} }