Fix: Use DEFINE instead of plain number.
authorMarkus Kauppila
Sun, 05 Jun 2011 18:44:58 +0300
changeset 5685731a7c70eded
parent 5684 d67b7490be36
child 5686 a7d699502230
Fix: Use DEFINE instead of plain number.
test/test-automation/runner.c
     1.1 --- a/test/test-automation/runner.c	Sun Jun 05 18:38:06 2011 +0300
     1.2 +++ b/test/test-automation/runner.c	Sun Jun 05 18:44:58 2011 +0300
     1.3 @@ -354,7 +354,7 @@
     1.4  		int length = len - DIR_NAME_LENGTH - FILE_EXT_LENGTH;
     1.5  
     1.6  		memset(buffer, 0, NAME_BUFFER_SIZE);
     1.7 -		memcpy(buffer, testSuiteName + 6, length);
     1.8 +		memcpy(buffer, testSuiteName + DIR_NAME_LENGTH, length);
     1.9  
    1.10  		retVal = SDL_strncmp(selected_suite_name, buffer, NAME_BUFFER_SIZE) == 0;
    1.11  	}