Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Fix: Use DEFINE instead of plain number.
  • Loading branch information
mkauppila committed Jun 5, 2011
1 parent c620fad commit e11aef6b83fbfcbb532a095fe086281daf2a2825
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test-automation/runner.c
@@ -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;
}

0 comments on commit e11aef6

Please sign in to comment.