mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 18:00:26 +00:00
Fix MSVC issue converting a string literal (const char*) to bool when assigning to a variant<bool, string, ...>
More information: https://twitter.com/davidcapello/status/1609918634075226121
This commit is contained in:
parent
574f583753
commit
c77c95181a
@ -89,7 +89,7 @@ int Properties_newindex(lua_State* L)
|
||||
break;
|
||||
|
||||
case LUA_TSTRING:
|
||||
properties[field] = lua_tostring(L, 3);
|
||||
properties[field] = std::string(lua_tostring(L, 3));
|
||||
break;
|
||||
|
||||
case LUA_TTABLE:
|
||||
|
Loading…
Reference in New Issue
Block a user