diff options
Diffstat (limited to 'src/lane.cpp')
-rw-r--r-- | src/lane.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lane.cpp b/src/lane.cpp index 22147f1..029efdb 100644 --- a/src/lane.cpp +++ b/src/lane.cpp | |||
@@ -811,7 +811,7 @@ void Lane::changeDebugName(int const nameIdx_) | |||
811 | kLaneNameRegKey.setValue(L, [idx = _nameIdx](lua_State* L_) { lua_pushvalue(L_, idx); }); // L: ... "name" ... | 811 | kLaneNameRegKey.setValue(L, [idx = _nameIdx](lua_State* L_) { lua_pushvalue(L_, idx); }); // L: ... "name" ... |
812 | // keep a direct pointer on the string | 812 | // keep a direct pointer on the string |
813 | debugName = lua_tostringview(L, _nameIdx); | 813 | debugName = lua_tostringview(L, _nameIdx); |
814 | if constexpr (HAVE_DECODA_NAME()) { | 814 | if constexpr (HAVE_DECODA_SUPPORT()) { |
815 | // to see VM name in Decoda debugger Virtual Machine window | 815 | // to see VM name in Decoda debugger Virtual Machine window |
816 | lua_pushvalue(L, _nameIdx); // L: ... "name" ... "name" | 816 | lua_pushvalue(L, _nameIdx); // L: ... "name" ... "name" |
817 | lua_setglobal(L, "decoda_name"); // L: ... "name" ... | 817 | lua_setglobal(L, "decoda_name"); // L: ... "name" ... |