| Summary: | [Patch] Redundant condition in KMSDRM_CreateCursor | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Mathieu Eyraud <meyraud705> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | redwindwanderer |
| Version: | 2.0.13 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | fix redundant condition | ||
@meyraud705: Thanks a lot for this! I have been looking at this code for so long in the last week that I couldn't see details on it anymore... :D Patch merged! Suggested patch applied. |
Created attachment 4443 [details] fix redundant condition 'usable_cursor_w == 0' is checked twice on line 117 in KMSDRM_CreateCursor in ksmdrmmouse.c.