Skip to content

Commit

Permalink
Update to 2.2.5
Browse files Browse the repository at this point in the history
Bug fixes
  • Loading branch information
w4123 committed Jun 5, 2018
1 parent c60d514 commit b791005
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Binary file modified Dice/Dice.cpp
Binary file not shown.
4 changes: 1 addition & 3 deletions Dice/RD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ using namespace CQ;
inline void init(string &msg)
{
msg_decode(msg);
while (!msg.empty() && isspace(msg[0]))
msg.erase(msg.begin());
}

inline void init2(string &msg)
Expand All @@ -51,7 +49,7 @@ inline void init2(string &msg)
}
}

while (!msg.empty() && isspace(msg[0]))
while (isspace(msg[0]))
msg.erase(msg.begin());
while (!msg.empty() && isspace(msg[msg.length() - 1]))
msg.erase(msg.end() - 1);
Expand Down
2 changes: 1 addition & 1 deletion Dice/RDConstant.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#error 请使用Win32 Release模式进行编译
#endif
//Version
static const std::string Dice_Ver = "2.2.3(425)";
static const std::string Dice_Ver = "2.2.4(426)";
static const std::string Dice_Short_Ver = "Dice! by 溯洄 Version " + Dice_Ver;
static const std::string Dice_Full_Ver = Dice_Short_Ver + " [MSVC " + std::to_string(_MSC_FULL_VER) + " " + __DATE__ + " " + __TIME__ + "]";
//Error Handle
Expand Down

0 comments on commit b791005

Please sign in to comment.