diff options
author | Kostas Nakos | 2006-06-10 11:23:40 +0000 |
---|---|---|
committer | Kostas Nakos | 2006-06-10 11:23:40 +0000 |
commit | a6a98c0009a9b8c16680db289fd453bff27d8447 (patch) | |
tree | 687e6cbde59fdb04d05628ef2f3fcb63643f82da /backends/wince/CEgui/Panel.h | |
parent | 3b4416bb37ff366de0794ad476f4c98a7c3da11b (diff) | |
download | scummvm-rg350-a6a98c0009a9b8c16680db289fd453bff27d8447.tar.gz scummvm-rg350-a6a98c0009a9b8c16680db289fd453bff27d8447.tar.bz2 scummvm-rg350-a6a98c0009a9b8c16680db289fd453bff27d8447.zip |
fixed hashmap use
svn-id: r23007
Diffstat (limited to 'backends/wince/CEgui/Panel.h')
-rw-r--r-- | backends/wince/CEgui/Panel.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/backends/wince/CEgui/Panel.h b/backends/wince/CEgui/Panel.h index cae2fa238f..8c4f4b3c7f 100644 --- a/backends/wince/CEgui/Panel.h +++ b/backends/wince/CEgui/Panel.h @@ -48,12 +48,8 @@ namespace CEGUI { virtual void forceRedraw(); virtual bool action(int x, int y, bool pushed); private: - struct IgnoreCaseComparator { - int operator()(const String& x, const String& y) const { - return scumm_stricmp(x.c_str(), y.c_str()); } - }; - typedef HashMap<String, PanelItem*, Common::IgnoreCase_Hash , IgnoreCaseComparator> ItemMap; + typedef HashMap<String, PanelItem*, Common::IgnoreCase_Hash , Common::IgnoreCase_EqualTo> ItemMap; ItemMap _itemsMap; int _interleave; |