diff options
author | Brad King <brad.king@kitware.com> | 2005-12-13 19:14:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-12-13 19:14:16 (GMT) |
commit | a8d199df494e2c5c4404bb51844fb4c9ad31ec52 (patch) | |
tree | 612315bff6c82beb47a327d9e302d873f11c2d6d /Source/MFCDialog/CMakeCommandLineInfo.cpp | |
parent | be019c96d45ede1b37a17fc7fa60655a33537410 (diff) | |
download | CMake-a8d199df494e2c5c4404bb51844fb4c9ad31ec52.zip CMake-a8d199df494e2c5c4404bb51844fb4c9ad31ec52.tar.gz CMake-a8d199df494e2c5c4404bb51844fb4c9ad31ec52.tar.bz2 |
BUG: Fix storage/use of argc/argv in CMakeSetup dialog.
Diffstat (limited to 'Source/MFCDialog/CMakeCommandLineInfo.cpp')
-rw-r--r-- | Source/MFCDialog/CMakeCommandLineInfo.cpp | 1 |
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() |