diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-07-04 11:04:40 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-07-04 11:04:40 -0400 |
commit | a91da38d5957c6deccca0b805c6ed6657282ec3e (patch) | |
tree | 16b54c704e4596803d7f9ba9cff0366dc3bf36e7 | |
parent | 4296fcfaf4803cea7921dd074e4fe03f390c10a7 (diff) | |
download | lite-xl-plugin-manager-a91da38d5957c6deccca0b805c6ed6657282ec3e.tar.gz lite-xl-plugin-manager-a91da38d5957c6deccca0b805c6ed6657282ec3e.zip |
Whoops.
-rw-r--r-- | src/lpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |