SFML 2.1 - Static
Windows 7 - 64 bit
No matter how I go about it, sf::String::erase() doesn't work properly for me. Whenever I use it rather than erase the character it just replaces it with a box.
(I am filtering out backspace)
sf_string.erase(sf_string.getSize()-1,1); // Results in box first press then nothing afterwards(No size change)
std_string1 = sf_string;
std_string1.erase(std_string1.size()-1,1);
sf_string = std_string1; // Same results
I've tried other ways and it doesn't matter how I go about it I get this damned box.
Any help appreciated, thanks.