changeset 3160:210e209b87cc

error message typo fix
author Sam Lantinga <slouken@libsdl.org>
date Thu, 28 May 2009 09:39:14 +0000
parents 7f684f249ec9
children 494559cc723b
files src/video/SDL_drawpoint.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_drawpoint.c	Sat May 23 22:41:08 2009 +0000
+++ b/src/video/SDL_drawpoint.c	Thu May 28 09:39:14 2009 +0000
@@ -29,7 +29,7 @@
 {
     /* 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);
     }