Skip to content

Commit

Permalink
Merge branch 'lua-fallback-fonts-with-atlasclear' into colored-fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
saurtron committed Dec 14, 2024
2 parents c9b82d6 + 3fcc1a4 commit d1e7ab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rts/Lua/LuaFonts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ int LuaFonts::AddFallbackFont(lua_State* L)

const auto font = luaL_checkstring(L, 1);

const bool f = CFontTexture::AddFallbackFont(font);
lua_pushboolean(L, f);
const bool res = CFontTexture::AddFallbackFont(font);
lua_pushboolean(L, res);
return 1;
}

Expand Down

0 comments on commit d1e7ab4

Please sign in to comment.