Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 6185f54

Browse files
authored
Update launcher.cpp
1 parent 8eac2f3 commit 6185f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: launcher/launcher.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void set_env_var(const std::wstring& name, const std::wstring& value)
7878
fs::path get_launcher_directory()
7979
{
8080
wchar_t buffer[MAX_PATH];
81-
size_t buffer_size = GetModuleFileNameW(nullptr, &buffer[0], NAX_PATH);
81+
size_t buffer_size = GetModuleFileNameW(nullptr, &buffer[0], MAX_PATH);
8282

8383
fs::path path = fs::current_path();
8484

0 commit comments

Comments
 (0)