1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Formatting, added comment.

This commit is contained in:
Camilla Berglund 2010-09-09 19:36:40 +02:00
parent 93ea341211
commit 96c2d04b11

View File

@ -152,6 +152,7 @@ static const char* get_button_name(int button)
static const char* get_character_string(int character) static const char* get_character_string(int character)
{ {
// This assumes UTF-8, which is stupid
static char result[6 + 1]; static char result[6 + 1];
int length = wctomb(result, character); int length = wctomb(result, character);