Skip to content

Commit

Permalink
fix(core): Correct usage of HarfBuzz when passing a filtered list of …
Browse files Browse the repository at this point in the history
…shapers
  • Loading branch information
alerque committed Oct 11, 2023
1 parent ace688c commit f488643
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/justenoughharfbuzz.c
Expand Up @@ -145,9 +145,9 @@ int shape (lua_State *L) {
double point_size = luaL_checknumber(L, 6);
const char * featurestring = luaL_checkstring(L, 7);
char * shaper_list_string = luaL_checkstring(L, 8);
char ** shaper_list = NULL;
const char * const* shaper_list = NULL;
if (strlen(shaper_list_string) > 0) {
shaper_list = scan_shaper_list(shaper_list_string);
shaper_list = (const char * const*)scan_shaper_list(shaper_list_string);
}

hb_direction_t direction;
Expand Down

0 comments on commit f488643

Please sign in to comment.