Update dllmain.cpp

This commit is contained in:
Kenan Zhu authored and GitHub committed 2024-10-27 10:45:45 +08:00
1 parent 012f9c905e
commit ccd8d27d1c
1 file changed
+2 -2
+2 -2
View File
@@ -283,7 +283,7 @@ int Type2Code(int i, char buff[1000])
strncpy(code_contrast, L3codeindex + 0 + j * 3, 3); strncpy(code_contrast, L3codeindex + 0 + j * 3, 3);
strncpy(code_original, buff + 7 + 4 * i, 3); strncpy(code_original, buff + 7 + 4 * i, 3);
if (strcmp(code_contrast, code_original) == 0){ if (strcmp(code_contrast, code_original) == 0){
code_return = j + 500; code_return = j + 300;
return code_return; return code_return;
break; break;
} }
@@ -294,7 +294,7 @@ int Type2Code(int i, char buff[1000])
strncpy(code_contrast, L3codeindex + 0 + j * 3, 3); strncpy(code_contrast, L3codeindex + 0 + j * 3, 3);
strncpy(code_original, buff + 7 + 4 * i, 3); strncpy(code_original, buff + 7 + 4 * i, 3);
if (strcmp(code_contrast, code_original) == 0){ if (strcmp(code_contrast, code_original) == 0){
code_return = j + 500; code_return = j + 400;
return code_return; return code_return;
break; break;
} }