Skip to content

Commit

Permalink
fix: ocr修复 closed issues #305 #321
Browse files Browse the repository at this point in the history
  • Loading branch information
ttttupup committed Nov 14, 2023
1 parent d574af8 commit 5d7c1d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 5d7c1d1

Please sign in to comment.