Ticket #9047: scummvm-sci-kgraphics.patch

File scummvm-sci-kgraphics.patch, 796 bytes (added by m-kiewitz, 12 years ago)
  • engines/sci/engine/kgraphics.cpp

    old new  
    568568
    569569                // FIXME/TODO: this is not right, as some of the dialogs are drawn *behind* some widgets. But at least it works for now
    570570                //ADD_TO_CURRENT_PICTURE_PORT(gfxw_new_box(s->gfx_state, area, color, color, GFX_BOX_SHADE_FLAT));      // old code
    571                 s->picture_port->add((GfxContainer *)s->picture_port, gfxw_new_box(s->gfx_state, area, color, color, GFX_BOX_SHADE_FLAT));
     571
     572                // FillBox seems to be meant again s->port instead of s->picture_port, at least in QfG3
     573                s->port->add((GfxContainer *)s->port, gfxw_new_box(s->gfx_state, area, color, color, GFX_BOX_SHADE_FLAT));
    572574
    573575        }
    574576        break;