diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2024-10-14 17:53:11 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2024-10-14 17:53:11 -0400 |
commit | bb61f8bf85c653d9bb14a47c869bba15cd970054 (patch) | |
tree | 19e93980a9552ab1fe448cc9e4b78d9f9f04c88d /src | |
parent | 41eda1fdc3c9be6b9bae4f6a3251826b4356966d (diff) | |
download | lite-xl-plugin-manager-bb61f8bf85c653d9bb14a47c869bba15cd970054.tar.gz lite-xl-plugin-manager-bb61f8bf85c653d9bb14a47c869bba15cd970054.zip |
Fix windows and linux compiles.
Diffstat (limited to 'src')
-rw-r--r-- | src/lpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -855,7 +855,7 @@ static int mkdirp(lua_State* L, char* path, int len) { if (path[i] == '/' && i > 0) { path[i] = 0; #ifdef _WIN32 - LPCSTR wpath = lua_toutf16(L, path); + LPCWSTR wpath = lua_toutf16(L, path); if (_wmkdir(wpath) && errno != EEXIST) { lua_pop(L, 1); return -1; |