Commit 6346ed9c authored by Markus Kauppila's avatar Markus Kauppila

Fix: Use DEFINE instead of plain number.

parent 5379420c
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment