In the Script Compatibility documentation, if I understand the purpose of the t_size function, the output is reversed:
http://docs.ahkscript.org/Compat.htm#NumPutGet
http://l.autohotkey.net/docs/Compat.htm#NumPutGet
Shouldn't it be like this?
Code: Select all
t_size(char_count=1) {
return A_IsUnicode ? char_count*2 : char_count
}
Antonio