s/graphic/g/

This commit is contained in:
jsalmon3 2004-03-28 18:03:18 +00:00
parent 3f54b2759a
commit c7be95b286

View file

@ -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;