Minor bug in SDL_drawpoint.c

SDL_DrawPoint refers to itself as SDL_DrawLine when reporting an error:

00030 /* This function doesn’t work on surfaces < 8 bpp */
00031 if (dst->format->BitsPerPixel < 8) {
00032 SDL_SetError(“SDL_DrawLine(): Unsupported surface format”);
00033 return (-1);
00034 }

Fixed, thanks!On Wed, May 27, 2009 at 9:31 AM, Kenneth Bull wrote:

SDL_DrawPoint refers to itself as SDL_DrawLine when reporting an error:

00030 /* This function doesn’t work on surfaces < 8 bpp */
00031 if (dst->format->BitsPerPixel < 8) {
00032 SDL_SetError(“SDL_DrawLine(): Unsupported surface format”);
00033 return (-1);
00034 }


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org