Import Tk 8.6.10

This commit is contained in:
Steve Dower
2020-09-24 22:55:34 +01:00
parent 5ba5cbc9af
commit 42c69189d9
365 changed files with 24323 additions and 12832 deletions

View File

@@ -126,6 +126,7 @@ PutPixel(
*/
destPtr[3] = 0;
/* FALLTHRU */
case 24:
/*
* Pixel is triplet: 0xBBGGRR.
@@ -347,7 +348,7 @@ XGetImageZPixmap(
size = sizeof(BITMAPINFO);
if (depth <= 8) {
size += sizeof(unsigned short) * (1 << depth);
size += sizeof(unsigned short) << depth;
}
bmInfo = ckalloc(size);