Skip to content

Commit

Permalink
Bug,解决CopyLibType可能不生效问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mingkuang-Chuyu committed May 31, 2023
1 parent 6b5421a commit 1a71e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibMaker/LibMaker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1673,7 +1673,7 @@ LSTATUS CopyLibType(LPCWSTR szLibFile, LPCWSTR szDesLibFile)


auto SymbolName = StrTable;
for (int i = 0; i != ObjNum; ++i, SymbolName += strlen(SymbolName) + 1)
for (int i = 0; i != SymbolNum; ++i, SymbolName += strlen(SymbolName) + 1)
{
auto ObjHeader = (SectionHeader*)(pData + ObjOffsets[SymbolIdx[i] - 1]);

Expand Down

0 comments on commit 1a71e74

Please sign in to comment.