Skip to content

Commit b791005

Browse files
committed
Update to 2.2.5
Bug fixes
1 parent c60d514 commit b791005

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

Dice/Dice.cpp

146 Bytes
Binary file not shown.

Dice/RD.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ using namespace CQ;
2424
inline void init(string &msg)
2525
{
2626
msg_decode(msg);
27-
while (!msg.empty() && isspace(msg[0]))
28-
msg.erase(msg.begin());
2927
}
3028

3129
inline void init2(string &msg)
@@ -51,7 +49,7 @@ inline void init2(string &msg)
5149
}
5250
}
5351

54-
while (!msg.empty() && isspace(msg[0]))
52+
while (isspace(msg[0]))
5553
msg.erase(msg.begin());
5654
while (!msg.empty() && isspace(msg[msg.length() - 1]))
5755
msg.erase(msg.end() - 1);

Dice/RDConstant.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#error 请使用Win32 Release模式进行编译
2323
#endif
2424
//Version
25-
static const std::string Dice_Ver = "2.2.3(425)";
25+
static const std::string Dice_Ver = "2.2.4(426)";
2626
static const std::string Dice_Short_Ver = "Dice! by 溯洄 Version " + Dice_Ver;
2727
static const std::string Dice_Full_Ver = Dice_Short_Ver + " [MSVC " + std::to_string(_MSC_FULL_VER) + " " + __DATE__ + " " + __TIME__ + "]";
2828
//Error Handle

0 commit comments

Comments
 (0)