Skip to content

Commit

Permalink
'fix:debug环境定义'
Browse files Browse the repository at this point in the history
  • Loading branch information
ttttupup committed Aug 31, 2023
1 parent ee7d4ee commit d574af8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1165,8 +1165,9 @@ INT64 Manager::SendApplet(const std::wstring &recv_wxid,
common::VectorInner *list = (common::VectorInner *)temp;

prototype::WeChatString *member = BuildWechatString(recv_wxid);

#ifdef _DEBUG
list->head = reinterpret_cast<UINT64>(member);
#endif
list->start = reinterpret_cast<UINT64>(member);
list->finsh = reinterpret_cast<UINT64>(member) + 0x20;
list->end = reinterpret_cast<UINT64>(member) + 0x20;
Expand Down

0 comments on commit d574af8

Please sign in to comment.