summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Drahoš <drahosp@gmail.com>2013-04-01 15:16:00 +0200
committerPeter Drahoš <drahosp@gmail.com>2013-04-01 15:16:00 +0200
commit9b19c7d3efdc203c6a067f51efa5626f3e440e49 (patch)
treeca3dda471f61f8893092aaf98e55d17ca0e3adbd
parent85924ec3dc53f4545cee5fcfaa62f1a8f2e507a0 (diff)
downloadlua-9b19c7d3efdc203c6a067f51efa5626f3e440e49.tar.gz
Minor define fix
-rw-r--r--src/loadlib_rel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loadlib_rel.c b/src/loadlib_rel.c
index 2c7d59d..c720c0a 100644
--- a/src/loadlib_rel.c
+++ b/src/loadlib_rel.c
@@ -130,7 +130,7 @@ static void setprogdir(lua_State *L) {
*lb = '\0';
// Replace the relative path placeholder
- luaL_gsub(L, lua_tostring(L, -1), LUA_EXEC_DIR, progdir);
+ luaL_gsub(L, lua_tostring(L, -1), LUA_EXECDIR, progdir);
lua_remove(L, -2);
}
}