Fix wrong value returned from cutLengthForPaper (#213)
This commit is contained in:
parent
7a3279c11d
commit
672d804518
@ -121,7 +121,7 @@
|
||||
APPPrinterPaper* paperSpec = [[APPPrinterPaper alloc]
|
||||
initWithDictionary:ctrl.settings[@"paper"]];
|
||||
|
||||
return paperSpec.length || paper.paperSize.height;
|
||||
return (paperSpec.length)?paperSpec.length:paper.paperSize.height;
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
Loading…
Reference in New Issue
Block a user