summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermyscripts.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-04-02 13:25:08 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-04-02 13:25:08 -0400
commit7049485ebd0b997a097c12e094425d58db56e043 (patch)
treeabe4e31d465e5ecacfa2bab2e76486ccd00a30f9 /indra/newview/llfloatermyscripts.h
parent1866d1a450b7857da82ceafbd2c6581d87b7f334 (diff)
Fix std::filesystem::path - to - std::string conversions on Windows.
On Windows, std::filesystem::path::value_type is wchar_t, not char -- so path::string_type is std::wstring, not std::string. So while Posix path instances implicitly convert to string, Windows path instances do not. Add explicit u8string() calls. Also add LL.abspath() Lua entry point to further facilitate finding a resource file relative to the calling Lua script. Use abspath() for both test_luafloater_demo.lua and test_luafloater_gesture_list.lua.
Diffstat (limited to 'indra/newview/llfloatermyscripts.h')
0 files changed, 0 insertions, 0 deletions