Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixed bug 1400 - Lack of error reporting for glyph rendering errors
I was just bitten by bug 374062 (any word if this will be fixed for etch given that it is fixed upstream?), and found that there is no error message set by sdl-ttf when it is unable to render a glyph, which makes bugs like this a bit more difficult to track down. I would really appreciate it if TTF_GetError() could return a useful message in such situations. The attached patch does just that by duplicating the existing error reporting for calls to Find_Glyph() into the places where it is missing, although it might be nice to know which glyph it was that could not be found...
- Loading branch information