aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.c
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-06-20 11:01:20 -0400
committerAdam Harrison <adamdharrison@gmail.com>2023-06-20 11:01:20 -0400
commita7a569ce5f6d6d0c48a43b766a283beec7fa2f02 (patch)
tree7c5209a76badd5825a8d876f592b4bde6bcaf732 /src/lpm.c
parentdade9f4849438cf1a62db6ac273934872083c233 (diff)
downloadlite-xl-plugin-manager-a7a569ce5f6d6d0c48a43b766a283beec7fa2f02.tar.gz
lite-xl-plugin-manager-a7a569ce5f6d6d0c48a43b766a283beec7fa2f02.zip
Removed xxd as a dependnecy.
Diffstat (limited to 'src/lpm.c')
-rw-r--r--src/lpm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lpm.c b/src/lpm.c
index eccec2b..8c19209 100644
--- a/src/lpm.c
+++ b/src/lpm.c
@@ -1133,8 +1133,8 @@ static const luaL_Reg system_lib[] = {
#ifdef LPM_STATIC
- extern const char src_lpm_luac[];
- extern unsigned int src_lpm_luac_len;
+ extern const char lpm_luac[];
+ extern unsigned int lpm_luac_len;
#endif
int main(int argc, char* argv[]) {
@@ -1165,7 +1165,7 @@ int main(int argc, char* argv[]) {
#ifndef LPM_STATIC
if (luaL_loadfile(L, "src/lpm.lua") || lua_pcall(L, 0, 1, 0)) {
#else
- if (luaL_loadbuffer(L, src_lpm_luac, src_lpm_luac_len, "lpm.lua") || lua_pcall(L, 0, 1, 0)) {
+ if (luaL_loadbuffer(L, lpm_luac, lpm_luac_len, "lpm.lua") || lua_pcall(L, 0, 1, 0)) {
#endif
fprintf(stderr, "internal error when starting the application: %s\n", lua_tostring(L, -1));
return -1;