Import Tk 8.6.10
This commit is contained in:
@@ -449,7 +449,7 @@ ComputeImageBbox(
|
||||
x = (int) (imgPtr->x + ((imgPtr->x >= 0) ? 0.5 : - 0.5));
|
||||
y = (int) (imgPtr->y + ((imgPtr->y >= 0) ? 0.5 : - 0.5));
|
||||
|
||||
if ((state == TK_STATE_HIDDEN) || (image == None)) {
|
||||
if ((state == TK_STATE_HIDDEN) || (image == NULL)) {
|
||||
imgPtr->header.x1 = imgPtr->header.x2 = x;
|
||||
imgPtr->header.y1 = imgPtr->header.y2 = y;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user