diff --git a/include/ntcon/ntcon.h b/include/ntcon/ntcon.h index 98f4370..95b19dd 100644 --- a/include/ntcon/ntcon.h +++ b/include/ntcon/ntcon.h @@ -146,7 +146,7 @@ typedef struct _nt_char_info { union { wchar16_t unicode_char; char ascii_char; - } uchar; + }; uint16_t attributes; } nt_char_info; @@ -191,7 +191,7 @@ typedef struct _nt_key_event_record { union { wchar16_t unicode_char; char ascii_char; - } uchar; + }; uint32_t control_key_state; } nt_key_event_record; @@ -226,10 +226,10 @@ typedef struct _nt_input_record { union { nt_key_event_record key_event; nt_mouse_event_record mouse_event; - nt_window_buffer_size_record window_buffer_size_event; + nt_window_buffer_size_record window_event; nt_menu_event_record menu_event; nt_focus_event_record focus_event; - } event; + }; } nt_input_record;