Torque3D/Engine
bank 93cea86312
Fix buffer overflow in GuiTreeViewCtrl class.
When calculating test length (in method `GuiTreeViewCtrl::Item::getDisplayTextLength()`)
the code doesn't take into account the `ItemState::Marked`, which
adds additional char in `GuiTreeViewCtrl::Item::getDisplayText()` method.

This commit fixes warning printed into console when calling `dSprintf()`
as the buffer is now enough to fit all data.
2023-04-24 13:41:19 +03:00
..
bin Old project generator is dead 2019-11-26 22:02:12 +10:00
lib Cleanup and improve 2023-04-06 15:28:09 +02:00
modules/Verve (Mostly) updated verve implementation. 2019-03-07 16:23:41 -06:00
source Fix buffer overflow in GuiTreeViewCtrl class. 2023-04-24 13:41:19 +03:00