Closed AllenX2018 closed 4 years ago
the variable name should be stat2 in line 278 & 279 in main.cpp
Stat* statProblem = 0; int statProblemWhich = 0; if (memcmp(&stat1, &itr->stat, sizeof(Stat)) != 0 && memcmp(&stat1, &itr->statUTF16, sizeof(Stat)) != 0) { statProblem = &stat1; statProblemWhich = 1; } //here stat1 should be stat2 else if (memcmp(&stat1, &itr->stat, sizeof(Stat)) != 0 && memcmp(&stat1, &itr->statUTF16, sizeof(Stat)) != 0) { statProblem = &stat2; statProblemWhich = 2; }
the variable name should be stat2 in line 278 & 279 in main.cpp