summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CursesDialog/ccmake.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx
index 3334131..0bf5617 100644
--- a/Source/CursesDialog/ccmake.cxx
+++ b/Source/CursesDialog/ccmake.cxx
@@ -39,11 +39,12 @@ void CMakeErrorHandler(const char* message, const char* title, bool& disable)
int main(int argc, char** argv)
{
unsigned int i;
+ int j;
cmake msg;
std::vector<std::string> args;
- for(i =0; i < argc; ++i)
+ for(j =0; j < argc; ++j)
{
- args.push_back(argv[i]);
+ args.push_back(argv[j]);
}
for(i=1; i < args.size(); ++i)