Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 24, 2024
1 parent c8e301c commit 7999da3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_imagingft.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ struct {
/* -------------------------------------------------------------------- */
/* font objects */

static FT_Library library;
static FT_Library library;
#ifdef Py_GIL_DISABLED
PyMutex ft_library_mutex;
#endif
Expand Down Expand Up @@ -1648,7 +1648,7 @@ PyInit__imagingft(void) {
}

#ifdef Py_GIL_DISABLED
ft_library_mutex = (PyMutex) {0};
ft_library_mutex = (PyMutex){0};
PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED);
#endif

Expand Down

0 comments on commit 7999da3

Please sign in to comment.