diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-10-29 16:31:33 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:08:55 -0300 |
commit | 78d5b68b37b206c81932f188e106b7f239b25cab (patch) | |
tree | 4848ac1a5282e60160dd0ed396afb8de34368960 /tests/libsample | |
parent | 2fb33ff364de0d134d3af9eb3d7a0a2fcf9e4877 (diff) |
Fix injectcode test to work with the newer version of sequencetoArgcArgv.
Diffstat (limited to 'tests/libsample')
-rw-r--r-- | tests/libsample/injectcode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libsample/injectcode.cpp b/tests/libsample/injectcode.cpp index 05c4a1438..6e19de750 100644 --- a/tests/libsample/injectcode.cpp +++ b/tests/libsample/injectcode.cpp @@ -54,7 +54,7 @@ const char* InjectCode::simpleMethod2() const char* InjectCode::simpleMethod3(int argc, char** argv) { - for (int i = 0; i < argc; ++i) + for (int i = 1; i < argc; ++i) m_valueHolder += argv[i]; return m_valueHolder.c_str(); } |