Skip to content

Commit

Permalink
fix print
Browse files Browse the repository at this point in the history
  • Loading branch information
sniper00 committed Oct 28, 2024
1 parent c3f3f2f commit 3a8d639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lualib-src/lua_moon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ static int lmoon_log(lua_State* L) {
}
case LUA_TBOOLEAN: {
int v = lua_toboolean(L, i);
constexpr std::string_view s[2] = { "true", "false" };
constexpr std::string_view s[2] = { "false", "true" };
line.write_back(s[v].data(), s[v].size());
break;
}
Expand Down

0 comments on commit 3a8d639

Please sign in to comment.