From a0a51c8b0de8b6c376d972ba4824b752a88ac59e Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 17 Mar 2015 16:05:31 +0000 Subject: [PATCH] oops --- Common/OS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/OS.cpp b/Common/OS.cpp index 2dcda6c82a..d5480fccb9 100644 --- a/Common/OS.cpp +++ b/Common/OS.cpp @@ -380,7 +380,7 @@ std::string GetExecutableName(const std::string &argv0) std::string name = ""; #if defined(WIN32) && !defined(__CYGWIN__) WCHAR src[MAX_PATH]; - DWARD size = GetModuleFileNameW(NULL, src, MAX_PATH); + DWORD size = GetModuleFileNameW(NULL, src, MAX_PATH); if(size){ char dst[MAX_PATH]; utf8FromUtf16(dst, MAX_PATH, src, size); -- GitLab