| Summary: | dollar gesture loading does not set an error | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Martin Gerhardy <martin.gerhardy> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | CC: | philipp.wiesemann |
| Version: | HG 2.1 | Keywords: | triage-2.0.4 |
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | call SDL_SetError to describe a little bit what went wrong | ||
(In reply to Martin Gerhardy from comment #0) > Created attachment 1803 [details] > call SDL_SetError to describe a little bit what went wrong > > attached is a small patch that improves the situation a little bit. The patch also changes SDL_LoadDollarTemplates() to return -1 instead of 0 if src == NULL. Although it may make more sense this it could break existing programs. Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry if you got a lot of email from this. This is to help me sort through some bugs in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4, though! This patch (with the one "return 0" restored) is now http://hg.libsdl.org/SDL/rev/2d6ec08030a0, thanks! --ryan. |
Created attachment 1803 [details] call SDL_SetError to describe a little bit what went wrong attached is a small patch that improves the situation a little bit.