Overview
Artifact ID: | f02d3018ab5540b7241d9aa04343b7e82ef813db |
---|---|
Ticket: | 4b414efd7a7ef7fc37fb70d8fad5207ad4d5038b
Tk_GetGC returns incorrect GC |
User & Date: | anonymous 2015-05-01 18:13:24 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Tk_GetGC() can return an incorrect GC when a new GC is added which contains XGCValues that are default values. Example, set the foreground to black (value 0). The following patch adds valueMask to hash key, insuring a unique hash key. tk8.6.4/generic/tkGC.c 31a32 > unsigned long mask; 99a101 > valueKey.mask = valueMask;
- foundin changed to: "8.6.4"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "d1f0e9338b80a1c52a557b60c288ec1bc232d0ab"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "64. Graphic Contexts"
- title changed to: "Tk_GetGC returns incorrect GC"
- type changed to: "Patch"