2010-01-19 10:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/contrib/hbwin/win_prn1.c
    ! fixed missing dmFields assignment - please test if this fix does
      not change the behavior of printer dialog window when :AskProperties
      is set to .T. - thanks to Chen for information
This commit is contained in:
Przemyslaw Czerpak
2010-01-19 09:20:57 +00:00
parent 937d616405
commit 3c898d9d79
2 changed files with 8 additions and 0 deletions

View File

@@ -17,6 +17,12 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-01-19 10:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_prn1.c
! fixed missing dmFields assignment - please test if this fix does
not change the behavior of printer dialog window when :AskProperties
is set to .T. - thanks to Chen for information
2010-01-19 09:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/ppcore.c
* pacified BCC warning

View File

@@ -556,6 +556,8 @@ HB_FUNC( WIN_SETDOCUMENTPROPERTIES )
dmFields |= DM_PAPERLENGTH | DM_PAPERWIDTH;
}
pDevMode->dmFields = dmFields;
fMode = DM_IN_BUFFER | DM_OUT_BUFFER;
if( fUserDialog )
fMode |= DM_IN_PROMPT;