diff options
Diffstat (limited to 'win/tkWinImage.c')
-rw-r--r-- | win/tkWinImage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinImage.c b/win/tkWinImage.c index e1660a9..e4fb487 100644 --- a/win/tkWinImage.c +++ b/win/tkWinImage.c @@ -585,7 +585,7 @@ XGetImage( XImage *imagePtr; HDC dc; - display->request++; + LastKnownRequestProcessed(display)++; if (twdPtr == NULL) { /* @@ -615,7 +615,7 @@ XGetImage( width, height, 32, 0); size = imagePtr->bytes_per_line * imagePtr->height; imagePtr->data = ckalloc(size); - ZeroMemory(imagePtr->data, size); + memset(imagePtr->data, 0, size); for (yy = 0; yy < height; yy++) { for (xx = 0; xx < width; xx++) { |