From 78d5b68b37b206c81932f188e106b7f239b25cab Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Fri, 29 Oct 2010 16:31:33 -0200 Subject: Fix injectcode test to work with the newer version of sequencetoArgcArgv. --- tests/libsample/injectcode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/libsample') 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(); } -- cgit v1.2.3