Skip to content

Commit

Permalink
Renamed "struct _TTF_Font" to "struct TTF_Font"
Browse files Browse the repository at this point in the history
Fixes #372

(cherry picked from commit 2234741)
  • Loading branch information
slouken committed Jul 31, 2024
1 parent 7e4a456 commit 7185085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SDL_ttf.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ typedef struct PosBuf {
} PosBuf_t;

/* The structure used to hold internal font information */
struct _TTF_Font {
struct TTF_Font {
/* Freetype2 maintains all sorts of useful info itself */
FT_Face face;

Expand Down
2 changes: 1 addition & 1 deletion SDL_ttf.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ extern DECLSPEC void SDLCALL TTF_ByteSwappedUNICODE(SDL_bool swapped);
*
* Opaque data!
*/
typedef struct _TTF_Font TTF_Font;
typedef struct TTF_Font TTF_Font;

/**
* Initialize SDL_ttf.
Expand Down

0 comments on commit 7185085

Please sign in to comment.