signal11/hidapi — pull request #43 by ggilles (2012-02-27 13:55:54+00:00)
Title: setlocale

This is a quick fix for a setlocale bug affecting my application.
Using setlocale to force use of the default locale for USB enumeration changes the current locale of the application. This simple fix restores the locale to the previous locale instead of the default one.

Signed-off-by: Gilles Grégoire