Fix invalid read from poor setlocale usage.
1 file changed