fix: ocr修复 closed issues #305 #321

This commit is contained in:
ttttupup 2023-11-14 20:38:17 +08:00
parent d574af863a
commit 5d7c1d1d48
1 changed files with 2 additions and 2 deletions

View File

@ -1246,8 +1246,8 @@ INT64 Manager::DoOCRTask(const std::wstring &img_path, std::string &result) {
reinterpret_cast<UINT64>(buff),reinterpret_cast<UINT64>(&unkonwn));
INT64 number = *(INT64 *)(buff + 0x8);
if (number > 0) {
INT64 header = list->start;
for (unsigned int i = 0; i < number - 1; i++) {
INT64 header = *(INT64 *)(buff);
for (unsigned int i = 0; i < number; i++) {
INT64 content = *(INT64 *)header;
result += Utils::ReadWstringThenConvert(content + 0x28);
result += "\r\n";