mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 13:19:28 +02:00
PrintersLazarus Carbon: fixed bug #0011014: Mac OS X : Unable to compile Printer4Lazarus 0.5 as Dominique Louis suggested
git-svn-id: trunk@14623 -
This commit is contained in:
parent
ad94ffd5fb
commit
151855e408
@ -45,6 +45,7 @@ var
|
|||||||
CarbonPrinter: TCarbonPrinter;
|
CarbonPrinter: TCarbonPrinter;
|
||||||
DialogSettings: PMPrintSettings;
|
DialogSettings: PMPrintSettings;
|
||||||
U, V: UInt32;
|
U, V: UInt32;
|
||||||
|
B: Boolean;
|
||||||
PMin, PMax, PFrom, PTo: Integer;
|
PMin, PMax, PFrom, PTo: Integer;
|
||||||
begin
|
begin
|
||||||
Result := False;
|
Result := False;
|
||||||
@ -83,7 +84,9 @@ begin
|
|||||||
|
|
||||||
if Result then
|
if Result then
|
||||||
begin
|
begin
|
||||||
OSError(PMGetCollate(DialogSettings, Collate), Self, SExecute, 'PMGetCollate');
|
B := Collate;
|
||||||
|
OSError(PMGetCollate(DialogSettings, B), Self, SExecute, 'PMGetCollate');
|
||||||
|
Collate := B;
|
||||||
|
|
||||||
V := Copies;
|
V := Copies;
|
||||||
OSError(PMGetCopies(DialogSettings, V), Self, SExecute, 'PMGetCopies');
|
OSError(PMGetCopies(DialogSettings, V), Self, SExecute, 'PMGetCopies');
|
||||||
|
@ -29,6 +29,7 @@ Darius Blaszijk
|
|||||||
David Guadagnini
|
David Guadagnini
|
||||||
Dean Zobec
|
Dean Zobec
|
||||||
Diogo Picarra
|
Diogo Picarra
|
||||||
|
Dominique Louis
|
||||||
Ere Maijala
|
Ere Maijala
|
||||||
Eric Chapman
|
Eric Chapman
|
||||||
Erivelton Silva
|
Erivelton Silva
|
||||||
|
Loading…
Reference in New Issue
Block a user