diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-01-04 23:27:03 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-01-04 23:27:03 (GMT) |
commit | cdcd80aec2e8f345a9a491e82129ab8ae0f864ea (patch) | |
tree | 65782f89c2e4f7e5db621287edf4524c6b29ce21 /win/tkWinImage.c | |
parent | fd6508a2a0aa568a36f853f326794536601769f0 (diff) | |
parent | 726546cf2742672ce6de89b0500b3e750c6fe3b7 (diff) | |
download | tk-cdcd80aec2e8f345a9a491e82129ab8ae0f864ea.zip tk-cdcd80aec2e8f345a9a491e82129ab8ae0f864ea.tar.gz tk-cdcd80aec2e8f345a9a491e82129ab8ae0f864ea.tar.bz2 |
Merge 8.5
Diffstat (limited to 'win/tkWinImage.c')
-rw-r--r-- | win/tkWinImage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinImage.c b/win/tkWinImage.c index d61b84a..0a8ef73 100644 --- a/win/tkWinImage.c +++ b/win/tkWinImage.c @@ -347,7 +347,7 @@ XGetImageZPixmap( size = sizeof(BITMAPINFO); if (depth <= 8) { - size += sizeof(unsigned short) * (1 << depth); + size += sizeof(unsigned short) << depth; } bmInfo = ckalloc(size); |