Skip to content

Commit

Permalink
Fix love.font.newBMFontRasterizer when it's given a single file param.
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Oct 12, 2023
1 parent 2deb627 commit ba69350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/font/wrap_Font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ int w_newBMFontRasterizer(lua_State *L)
lua_pop(L, 1);
}
}
else
else if (!lua_isnoneornil(L, 2))
{
convimagedata(L, 2);
image::ImageData *id = luax_checktype<image::ImageData>(L, 2);
Expand Down

0 comments on commit ba69350

Please sign in to comment.