aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-07-04 11:04:40 -0400
committerAdam Harrison <adamdharrison@gmail.com>2023-07-04 11:04:40 -0400
commita91da38d5957c6deccca0b805c6ed6657282ec3e (patch)
tree16b54c704e4596803d7f9ba9cff0366dc3bf36e7
parent4296fcfaf4803cea7921dd074e4fe03f390c10a7 (diff)
downloadlite-xl-plugin-manager-a91da38d5957c6deccca0b805c6ed6657282ec3e.tar.gz
lite-xl-plugin-manager-a91da38d5957c6deccca0b805c6ed6657282ec3e.zip
Whoops.
-rw-r--r--src/lpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.c b/src/lpm.c
index 473e3c0..dbe01bf 100644
--- a/src/lpm.c
+++ b/src/lpm.c
@@ -238,7 +238,7 @@ static int lpm_stat(lua_State *L) {
struct _stat s;
LPCWSTR wpath = lua_toutf16(L, path);
int err = _wstat(wpath, &s);
- const char *abs_path = !err && _wfullpath(full_path, wpath, MAX_PATH) ? lua_toutf8(L, (LPCWSTR)fullpath) : NULL;
+ const char *abs_path = !err && _wfullpath(full_path, wpath, MAX_PATH) ? lua_toutf8(L, (LPCWSTR)full_path) : NULL;
#else
char full_path[MAX_PATH];
struct stat s;