Skip to content

Commit

Permalink
Some indent
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas committed Aug 25, 2022
1 parent 3bfada2 commit 41fec7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/map/kmap_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ bool KmapLoader::loadFile(const std::string &fileName)
std::fstream fileStream(fileName, std::ios:: in | std::ios::binary);
if (!fileStream.is_open())
{
SPDLOG_ERROR("Unable to load {}, could not open file", fileName);
SPDLOG_ERROR("Unable to load :{}, could not open file", fileName);
return false;
}

if (!fileStream.good())
{
SPDLOG_ERROR("Unable to load {}, error for read file", fileName);
SPDLOG_ERROR("Unable to load :{}, error for read file", fileName);
return false;
}

Expand Down Expand Up @@ -180,7 +180,7 @@ Item* KmapLoader::loadItem(const Kmap::Item *kItem)

if (item == nullptr)
{
SPDLOG_WARN("{} - Failed to create item #{}.", __FUNCTION__, kItem->id());
SPDLOG_WARN("{} - Failed to create item :{}.", __FUNCTION__, kItem->id());
return nullptr;
}

Expand Down Expand Up @@ -212,7 +212,7 @@ Item* KmapLoader::loadItem(const Kmap::Item *kItem)
if (const ItemType &itemType = Item::items[item->getID()];
!itemType.isContainer() && kContainerItem->size() > 0)
{
SPDLOG_ERROR("{} - Container items found, but item {} is not a container.", __FUNCTION__, kItem->id());
SPDLOG_ERROR("{} - Container items found, but item :{} is not a container.", __FUNCTION__, kItem->id());
return item;
}

Expand Down

0 comments on commit 41fec7d

Please sign in to comment.