diff options
author | nijtmans <nijtmans> | 2009-03-25 23:39:34 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-03-25 23:39:34 (GMT) |
commit | e8056974d6ff66419811aefcfa7dccf1e9ce037a (patch) | |
tree | ebc31112b959a94ae9a020765d357948e85a1933 /win/tkWinMenu.c | |
parent | 5a34c96d286d804fdd67a94c1d475b9188ec469d (diff) | |
download | tk-e8056974d6ff66419811aefcfa7dccf1e9ce037a.zip tk-e8056974d6ff66419811aefcfa7dccf1e9ce037a.tar.gz tk-e8056974d6ff66419811aefcfa7dccf1e9ce037a.tar.bz2 |
Eliminate a few compiler warnings on mingw
spacing
Diffstat (limited to 'win/tkWinMenu.c')
-rw-r--r-- | win/tkWinMenu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c index 7dffe80..1a54fd7 100644 --- a/win/tkWinMenu.c +++ b/win/tkWinMenu.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinMenu.c,v 1.65 2009/03/01 21:54:40 patthoyts Exp $ + * RCS: @(#) $Id: tkWinMenu.c,v 1.66 2009/03/25 23:39:35 nijtmans Exp $ */ #define OEMRESOURCE @@ -2437,9 +2437,9 @@ TkpDrawMenuEntry( int adjustedHeight = height - 2 * padY; TkWinDrawable memWinDraw; TkWinDCState dcState; - HBITMAP oldBitmap; + HBITMAP oldBitmap = NULL; Drawable d; - HDC memDc, menuDc; + HDC memDc = NULL, menuDc = NULL; /* * If the menu entry includes an image then draw the entry into a @@ -2557,7 +2557,7 @@ TkpDrawMenuEntry( fmPtr, adjustedX, adjustedY, width, adjustedHeight); } } - + /* * Copy the entry contents from the temporary bitmap to the menu. */ |