Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fix: Use DEFINE instead of plain number.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkauppila committed Jun 5, 2011
1 parent c620fad commit e11aef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-automation/runner.c
Expand Up @@ -354,7 +354,7 @@ SuiteIsSelected(char *testSuiteName) {
int length = len - DIR_NAME_LENGTH - FILE_EXT_LENGTH;

memset(buffer, 0, NAME_BUFFER_SIZE);
memcpy(buffer, testSuiteName + 6, length);
memcpy(buffer, testSuiteName + DIR_NAME_LENGTH, length);

retVal = SDL_strncmp(selected_suite_name, buffer, NAME_BUFFER_SIZE) == 0;
}
Expand Down

0 comments on commit e11aef6

Please sign in to comment.