Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit 9b19c7d

Browse files
committed
Minor define fix
1 parent 85924ec commit 9b19c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loadlib_rel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static void setprogdir(lua_State *L) {
130130
*lb = '\0';
131131

132132
// Replace the relative path placeholder
133-
luaL_gsub(L, lua_tostring(L, -1), LUA_EXEC_DIR, progdir);
133+
luaL_gsub(L, lua_tostring(L, -1), LUA_EXECDIR, progdir);
134134
lua_remove(L, -2);
135135
}
136136
}

0 commit comments

Comments
 (0)