aboutsummaryrefslogtreecommitdiff
path: root/lpm.c
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2022-09-10 16:40:19 -0400
committerAdam <adamdharrison@gmail.com>2022-09-10 16:40:19 -0400
commite374d9075bca80f9ec89828df4ab2d75daeb6910 (patch)
treea9381c04e2ed90a02b542e790e5a7bc4c570d34d /lpm.c
parent38eabf89e5d1ed3ed7c5db399ee882e300c69205 (diff)
downloadlite-xl-plugin-manager-e374d9075bca80f9ec89828df4ab2d75daeb6910.tar.gz
lite-xl-plugin-manager-e374d9075bca80f9ec89828df4ab2d75daeb6910.zip
Fixed most commands.
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 2da8a13..fa0410b 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;
}