https://sourceforge.net/tracker/index.p ... tid=540678
CGUIFont had a warning about unhandled texture enums, the attached patch prints a message if an unknown texture is passed.
CGUITreeView.cpp:699: warning: 'selIdx' may be used uninitialized in this function
The attached patch initializes it to -1, which I assume is a correct invalid value for it. I'm not 100% sure on it, if it's a correct value for a selected index, please init the variable with a suitable value.