Yes but it doesn't seem to work without changing this. I just saw that there are 2 different members (m_lastUtf8Text and m_lastText) in GUITextLayout and the hint text never changes so changed will be set to true here just once. So maybe setting changed to 'true' in the else clause above could help.