bugfix: Use make_lower throughout for spritebank filenames (found and patched by Ion Dune)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2427 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
300bd095ae
commit
969b6b786d
|
@ -1,4 +1,7 @@
|
|||
Changes in 1.6
|
||||
- bugfix: Use make_lower throughout for spritebank filenames (found and patched by Ion Dune)
|
||||
|
||||
- bugfix: CMountPointReader::openFile no longer returns true for empty files. Corresponding test added.
|
||||
|
||||
- Direct3D now also uses screen coordinates in 2d mode, just like OpenGL. This means that screen coords are going from 0..ScreenWidth and 0..ScreenHeight instead of -1..1.
|
||||
|
||||
|
|
|
@ -1441,6 +1441,7 @@ IGUISpriteBank* CGUIEnvironment::addEmptySpriteBank(const core::string<c16>& nam
|
|||
|
||||
SSpriteBank b;
|
||||
b.Filename = name;
|
||||
b.Filename.make_lower();
|
||||
|
||||
const s32 index = Banks.binary_search(b);
|
||||
if (index != -1)
|
||||
|
|
Loading…
Reference in New Issue