From 8a25c7d1e06146ecc18885330bbbe9500832c9a8 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 28 May 2009 09:39:14 +0000 Subject: [PATCH] error message typo fix --- src/video/SDL_drawpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_drawpoint.c b/src/video/SDL_drawpoint.c index b06c55ed7..033951e3b 100644 --- a/src/video/SDL_drawpoint.c +++ b/src/video/SDL_drawpoint.c @@ -29,7 +29,7 @@ SDL_DrawPoint(SDL_Surface * dst, int x, int y, Uint32 color) { /* This function doesn't work on surfaces < 8 bpp */ if (dst->format->BitsPerPixel < 8) { - SDL_SetError("SDL_DrawLine(): Unsupported surface format"); + SDL_SetError("SDL_DrawPoint(): Unsupported surface format"); return (-1); }