summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/CMakeCommandLineInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/MFCDialog/CMakeCommandLineInfo.cpp')
-rw-r--r--Source/MFCDialog/CMakeCommandLineInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/MFCDialog/CMakeCommandLineInfo.cpp b/Source/MFCDialog/CMakeCommandLineInfo.cpp
index d286ea0..15c5c81 100644
--- a/Source/MFCDialog/CMakeCommandLineInfo.cpp
+++ b/Source/MFCDialog/CMakeCommandLineInfo.cpp
@@ -26,6 +26,7 @@ CMakeCommandLineInfo::CMakeCommandLineInfo()
char fname[4096];
::GetModuleFileName(0, fname, 4096);
m_Argv0 = fname;
+ m_Argv.push_back(m_Argv0.c_str());
}
CMakeCommandLineInfo::~CMakeCommandLineInfo()