Code from line 1255 of CGUITable.cpp (of rev 6221):
Code: Select all
cell.Text = core::stringw(in->getAttributeAsString(label.c_str()).c_str());
Code: Select all
cell.Text = in->getAttributeAsStringW(label.c_str());
I'm guessing the original code was probably written before there was a getAttributeAsStringW().
I checked the other GUI elements, and all but one other were fine. CGUIFileOpenDialog uses getAttributeAsString() regardless of platform. Should be stringw on Windows I would think, but then again it should be io::path for fschar_t, lol. Easiest thing would be to use the #ifdef _IRR_WCHAR_FILESYSTEM
I'm tired and going to bed.