mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Fix indentation of logging code and around it
That wouldn't be as big issue if problem affected few files, but it everywhere in codebase. Fixed it everywhere since in most files that is the only code with wrong indentation.
This commit is contained in:
@ -80,7 +80,7 @@ std::shared_ptr<rett> createAny(const boost::filesystem::path& libpath, const st
|
||||
getAI = (TGetAIFun)dlsym(dll, methodName.c_str());
|
||||
}
|
||||
else
|
||||
logGlobal->errorStream() << "Error: " << dlerror();
|
||||
logGlobal->errorStream() << "Error: " << dlerror();
|
||||
#endif // VCMI_WINDOWS
|
||||
if (!dll)
|
||||
{
|
||||
@ -100,12 +100,12 @@ std::shared_ptr<rett> createAny(const boost::filesystem::path& libpath, const st
|
||||
#endif // VCMI_ANDROID
|
||||
|
||||
getName(temp);
|
||||
logGlobal->infoStream() << "Loaded " << temp;
|
||||
logGlobal->infoStream() << "Loaded " << temp;
|
||||
|
||||
std::shared_ptr<rett> ret;
|
||||
getAI(ret);
|
||||
if(!ret)
|
||||
logGlobal->errorStream() << "Cannot get AI!";
|
||||
logGlobal->errorStream() << "Cannot get AI!";
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user