tchar_is_word_separator
if (!tchar_is_word_separator(buf[i - 1]))
if (tchar_is_word_separator(r[i])) {