Fix: Use DEFINE instead of plain number.
This commit is contained in:
parent
5379420c8a
commit
6346ed9ccb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue