aboutsummaryrefslogtreecommitdiff
path: root/lpm.c
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2022-09-12 13:45:37 -0400
committerAdam <adamdharrison@gmail.com>2022-09-12 13:45:37 -0400
commit4df1685dcd73670f9a52fb15524b39cb447d776b (patch)
treee5c3938f9c97396d509eb126712c07e8ba800f0e /lpm.c
parente374d9075bca80f9ec89828df4ab2d75daeb6910 (diff)
downloadlite-xl-plugin-manager-4df1685dcd73670f9a52fb15524b39cb447d776b.tar.gz
lite-xl-plugin-manager-4df1685dcd73670f9a52fb15524b39cb447d776b.zip
Added in 2.1 branch.
Diffstat (limited to 'lpm.c')
-rw-r--r--lpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lpm.c b/lpm.c
index fa0410b..2da8a13 100644
--- a/lpm.c
+++ b/lpm.c
@@ -383,8 +383,8 @@ int main(int argc, char* argv[]) {
lua_pushliteral(L, "/");
#endif
lua_setglobal(L, "PATHSEP");
- if (luaL_loadstring(L, luafile)) {
- //if (luaL_loadfile(L, "lpm.lua")) {
+ //if (luaL_loadstring(L, luafile)) {
+ if (luaL_loadfile(L, "lpm.lua")) {
fprintf(stderr, "internal error when starting the application: %s\n", lua_tostring(L, -1));
return -1;
}