Skip to content

Commit

Permalink
Rename badly named variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurtron committed Dec 14, 2024
1 parent 6f5da57 commit dfba0b2
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 @@ -221,8 +221,8 @@ int LuaFonts::AddFallbackFont(lua_State* L)
{
RECOIL_DETAILED_TRACY_ZONE;

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

Expand Down

0 comments on commit dfba0b2

Please sign in to comment.