mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Formatting, added comment.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user