You need to sign in or sign up before continuing.
Commit 969b6b78 authored by cutealien's avatar cutealien

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-e03cc46cb475
parent 300bd095
Changes in 1.6 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. - 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 ...@@ -1441,6 +1441,7 @@ IGUISpriteBank* CGUIEnvironment::addEmptySpriteBank(const core::string<c16>& nam
SSpriteBank b; SSpriteBank b;
b.Filename = name; b.Filename = name;
b.Filename.make_lower();
const s32 index = Banks.binary_search(b); const s32 index = Banks.binary_search(b);
if (index != -1) if (index != -1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment