Skip to content

Commit

Permalink
Merge branch 'Shiki' of https://github.com/Dice-Developer-Team/Dice i…
Browse files Browse the repository at this point in the history
…nto Shiki
  • Loading branch information
mystringEmpty committed Aug 9, 2020
2 parents 9b469d2 + 156ad80 commit fb2f401
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dice/DiceConsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ void Console::loadNotice()
if (loadFile(DiceDir + "\\conf\\NoticeList.txt", NoticeList) < 1)
{
std::set<chatType> sChat;
if (loadFile(static_cast<string>(getAppDirectory()) + "MonitorList.RDconf", sChat) > 0)
if (loadFile(std::string(getAppDirectory()) + "MonitorList.RDconf", sChat) > 0)
for (const auto& it : sChat)
{
console.setNotice(it, 0b100000);
Expand Down
2 changes: 1 addition & 1 deletion Dice/DiceSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ int DiceTableMaster::load()
for (nlohmann::json::iterator itTable = j["tables"].begin(); itTable != j["tables"].end(); ++itTable)
{
string strTable = UTF8toGBK(itTable.key());
for (nlohmann::json::iterator itItem = itTable.value().begin(); itItem != j.end(); ++itItem)
for (nlohmann::json::iterator itItem = itTable.value().begin(); itItem != itTable.value().end(); ++itItem)
{
pSession->mTable[strTable].emplace(UTF8toGBK(itItem.key()), itItem.value());
}
Expand Down

0 comments on commit fb2f401

Please sign in to comment.