diff options
author | Martin Kiewitz | 2010-01-20 20:09:24 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-20 20:09:24 +0000 |
commit | 99896e8a45ee12962e6e60d7cbbf97280e4d9c23 (patch) | |
tree | cecb3b56707a5ee2c02d43e735fba80f1b54d258 /engines/sci/graphics/windowmgr.h | |
parent | 49d3ba06bf8c249b440e4b3333a5dcebd8567fb7 (diff) | |
download | scummvm-rg350-99896e8a45ee12962e6e60d7cbbf97280e4d9c23.tar.gz scummvm-rg350-99896e8a45ee12962e6e60d7cbbf97280e4d9c23.tar.bz2 scummvm-rg350-99896e8a45ee12962e6e60d7cbbf97280e4d9c23.zip |
SCI: boundary check on getPortById()
svn-id: r47410
Diffstat (limited to 'engines/sci/graphics/windowmgr.h')
-rw-r--r-- | engines/sci/graphics/windowmgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/windowmgr.h b/engines/sci/graphics/windowmgr.h index 30d854c518..dca6642000 100644 --- a/engines/sci/graphics/windowmgr.h +++ b/engines/sci/graphics/windowmgr.h @@ -46,7 +46,7 @@ public: void DisposeWindow(Window *pWnd, bool reanimate); void UpdateWindow(Window *wnd); - Port *getPortById(uint16 id) const { return _windowsById[id]; } + Port *getPortById(uint16 id); Port *_wmgrPort; Window *_picWind; |