error message typo fix
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403614
This commit is contained in:
parent
483f2ba3fb
commit
1decfd1ab0
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ SDL_DrawPoint(SDL_Surface * dst, int x, int y, Uint32 color)
|
||||||
{
|
{
|
||||||
/* This function doesn't work on surfaces < 8 bpp */
|
/* This function doesn't work on surfaces < 8 bpp */
|
||||||
if (dst->format->BitsPerPixel < 8) {
|
if (dst->format->BitsPerPixel < 8) {
|
||||||
SDL_SetError("SDL_DrawLine(): Unsupported surface format");
|
SDL_SetError("SDL_DrawPoint(): Unsupported surface format");
|
||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue