diff options
Diffstat (limited to 'src/scripting.c')
-rw-r--r-- | src/scripting.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripting.c b/src/scripting.c index 5ba25846d..00d75f8bf 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -1916,11 +1916,11 @@ sds ldbCatStackValue(sds s, lua_State *lua, int idx) { else if (t == LUA_TUSERDATA) typename = "userdata"; else if (t == LUA_TTHREAD) typename = "thread"; else if (t == LUA_TLIGHTUSERDATA) typename = "light-userdata"; - s = sdscatprintf(s,"%s@%p",typename,p); + s = sdscatprintf(s,"\"%s@%p\"",typename,p); } break; default: - s = sdscat(s,"<unknown-lua-type>"); + s = sdscat(s,"\"<unknown-lua-type>\""); break; } return s; |