From c7be95b28624ad8c80fbe98a0e0b9e1ab3c21360 Mon Sep 17 00:00:00 2001 From: jsalmon3 <> Date: Sun, 28 Mar 2004 18:03:18 +0000 Subject: [PATCH] s/graphic/g/ --- src/video/graphic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/graphic.cpp b/src/video/graphic.cpp index 033027fa4..a63e07c0e 100644 --- a/src/video/graphic.cpp +++ b/src/video/graphic.cpp @@ -496,7 +496,7 @@ global void ResizeGraphic(Graphic* g, int w, int h) SDL_UnlockSurface(g->Surface); memcpy(pal, g->Surface->format->palette->colors, sizeof(SDL_Color) * 256); - if (graphic->Surface->format->BytesPerPixel == 1) { + if (g->Surface->format->BytesPerPixel == 1) { VideoPaletteListRemove(g->Surface); } ckey = g->Surface->format->colorkey;