Skip to content
Snippets Groups Projects
Commit a0a51c8b authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

oops

parent 10458ef6
No related branches found
No related tags found
No related merge requests found
...@@ -380,7 +380,7 @@ std::string GetExecutableName(const std::string &argv0) ...@@ -380,7 +380,7 @@ std::string GetExecutableName(const std::string &argv0)
std::string name = ""; std::string name = "";
#if defined(WIN32) && !defined(__CYGWIN__) #if defined(WIN32) && !defined(__CYGWIN__)
WCHAR src[MAX_PATH]; WCHAR src[MAX_PATH];
DWARD size = GetModuleFileNameW(NULL, src, MAX_PATH); DWORD size = GetModuleFileNameW(NULL, src, MAX_PATH);
if(size){ if(size){
char dst[MAX_PATH]; char dst[MAX_PATH];
utf8FromUtf16(dst, MAX_PATH, src, size); utf8FromUtf16(dst, MAX_PATH, src, size);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment