diff options
author | ericm <ericm> | 2000-08-29 21:00:12 (GMT) |
---|---|---|
committer | ericm <ericm> | 2000-08-29 21:00:12 (GMT) |
commit | a58f0548d57ee46718db43a7d0c28a1d68f1ba75 (patch) | |
tree | 18b298cd75cd3f7993f48a5a5b7550b3752ce632 /win/tkWinFont.c | |
parent | b644bdaaa00489a6be91dfbfb3976c53f4fea33d (diff) | |
download | tk-a58f0548d57ee46718db43a7d0c28a1d68f1ba75.zip tk-a58f0548d57ee46718db43a7d0c28a1d68f1ba75.tar.gz tk-a58f0548d57ee46718db43a7d0c28a1d68f1ba75.tar.bz2 |
* win/tkWinMenu.c (DrawWindowsSystemBitmap): Use scratchDC
for determining the source's logical coordinates. Patch from
[Bug: 6134 (Markus Oberhumer)].
* win/tkWinMenu.c (SetDefaults): Compute the indicatorDimensions[]
under Windows NT/2000 in the same way as under Windows 95/98.
Patch from [Bug: 6134 (Markus Oberhumer)].
* win/tkWinFont.c (GetScreenFont): Added a memset() to
pacify memory checkers. Patch from [Bug: 6134 (Markus Oberhumer)].
Diffstat (limited to 'win/tkWinFont.c')
-rw-r--r-- | win/tkWinFont.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/tkWinFont.c b/win/tkWinFont.c index a99d965..b84c836 100644 --- a/win/tkWinFont.c +++ b/win/tkWinFont.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinFont.c,v 1.11 2000/05/13 00:02:25 hobbs Exp $ + * RCS: @(#) $Id: tkWinFont.c,v 1.12 2000/08/29 21:00:13 ericm Exp $ */ #include "tkWinInt.h" @@ -1931,6 +1931,7 @@ GetScreenFont( HFONT hFont; LOGFONTW lf; + memset(&lf, 0, sizeof(lf)); lf.lfHeight = -pixelSize; lf.lfWidth = 0; lf.lfEscapement = 0; |