Add padding for non-32-bit-aligned types in structs (#10701)
This commit is contained in:
@@ -381,6 +381,9 @@ typedef struct SDL_TextEditingCandidatesEvent
|
||||
Sint32 num_candidates; /**< The number of strings in `candidates` */
|
||||
Sint32 selected_candidate; /**< The index of the selected candidate, or -1 if no candidate is selected */
|
||||
SDL_bool horizontal; /**< SDL_TRUE if the list is horizontal, SDL_FALSE if it's vertical */
|
||||
Uint8 padding1;
|
||||
Uint8 padding2;
|
||||
Uint8 padding3;
|
||||
} SDL_TextEditingCandidatesEvent;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user