summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2017-03-29 11:30:16 +0800
committerruki <[email protected]>2017-03-29 11:30:16 +0800
commitae2895234a673e0780f8ad5f780153a96183d565 (patch)
tree91eda609dcd5fb1d29a1375d9cb40ac263510e6c /core/src
parentcb1fb028caf39ce7044f07e0f02edb69ca83ae73 (diff)
update tbox for windows and fix installer.nsi
Diffstat (limited to 'core/src')
-rw-r--r--core/src/xmake/os/strerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/os/strerror.c b/core/src/xmake/os/strerror.c
index 5ba6c07b2..ffb4ac72b 100644
--- a/core/src/xmake/os/strerror.c
+++ b/core/src/xmake/os/strerror.c
@@ -50,7 +50,7 @@ tb_int_t xm_os_strerror(lua_State* lua)
// done os.strerror()
#ifdef TB_CONFIG_OS_WINDOWS
- lua_pushstring(lua, "");
+ lua_pushstring(lua, tb_state_cstr(tb_syserror_state()));
#else
lua_pushstring(lua, strerror(errno));
#endif