Skip to content

Commit

Permalink
fix: reply show
Browse files Browse the repository at this point in the history
修复展示回复内容时会触发分页的问题
  • Loading branch information
mystringEmpty committed Mar 28, 2024
1 parent eca584b commit ed05ecc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dice/ManagerSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ AttrVar getUserItem(long long uid, const string& item) {
if (string name{ DD::getQQNick(uid) }; !name.empty())
return name;
}
else if (item == "nick") {
if (item == "nick") {
return getName(uid);
}
else if (item == "trust") {
Expand Down
5 changes: 2 additions & 3 deletions Dice/MsgFormat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,9 @@ std::string listDeck(const std::vector<std::string>& v)
}
std::string listDeck(const VarArray& v)
{
ResList list;
list.setDot(" | ", "\n| ");
ShowList list;
for (auto& val : v) {
list << val;
}
return list.show();
return list.show("\n|");
}

0 comments on commit ed05ecc

Please sign in to comment.