Fix funciton hints.newWinChar

When the number of window is more than hintChars, do nothing.