diff options
author | Kevin Walzer <kw@codebykevin.com> | 2021-05-19 02:02:31 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2021-05-19 02:02:31 (GMT) |
commit | a14f3c5f994ac4ff201efd28cede0a35a1ac88bb (patch) | |
tree | 21f0f84352f74e1add6550d656295143b6d66d6e /win/tkWinGDI.c | |
parent | 57fb5234babf5952791315595fd7d5bd977b9387 (diff) | |
download | tk-a14f3c5f994ac4ff201efd28cede0a35a1ac88bb.zip tk-a14f3c5f994ac4ff201efd28cede0a35a1ac88bb.tar.gz tk-a14f3c5f994ac4ff201efd28cede0a35a1ac88bb.tar.bz2 |
Canvas printing works!
Diffstat (limited to 'win/tkWinGDI.c')
-rw-r--r-- | win/tkWinGDI.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/win/tkWinGDI.c b/win/tkWinGDI.c index 37b97b2..0c53112 100644 --- a/win/tkWinGDI.c +++ b/win/tkWinGDI.c @@ -1515,9 +1515,9 @@ static int GdiCharWidths( /* Now, get the widths using the correct function for font type. */ - if ( (retval = GetCharWidth32(hDC, 0, 255, widths)) == FALSE ) + if ( (retval = GetCharWidth32(hDC, 0, 255, widths)) == FALSE ) { - retval = GetCharWidth (hDC, 0, 255, widths ); + retval = GetCharWidth (hDC, 0, 255, widths ); } /* @@ -4963,10 +4963,10 @@ static int PrintSelectPrinter(ClientData clientData, Tcl_Interp *interp, int arg paper_width = (int) localDevmode->dmPaperWidth / 0.254; /* Convert to logical points.*/ copies = pd.nCopies; printDC = CreateDC( - "WINSPOOL", - printerName, - NULL, - localDevmode); + "WINSPOOL", + printerName, + NULL, + localDevmode); } else { |