diff options
Diffstat (limited to 'engines/sci/gui/gui_gfx.cpp')
-rw-r--r-- | engines/sci/gui/gui_gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_gfx.cpp b/engines/sci/gui/gui_gfx.cpp index a3531778f1..3fe0eb0867 100644 --- a/engines/sci/gui/gui_gfx.cpp +++ b/engines/sci/gui/gui_gfx.cpp @@ -365,7 +365,7 @@ void SciGUIgfx::OpenPort(GUIPort *port) { port->penClr = 0; port->backClr = 0xFF; port->penMode = 0; - memcpy(&port->rect, &_bounds, sizeof(_bounds)); + port->rect = _bounds; } void SciGUIgfx::PenColor(int16 color) { |