1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

Remove sneaky tabs.

This commit is contained in:
AnyOldName3 2018-08-18 00:09:40 +01:00
parent 80082308f0
commit 3ce96997d1

View File

@ -172,7 +172,7 @@ namespace Shader
size_t contentEnd = source.find("$endforeach", contentStart);
if (contentEnd == std::string::npos)
{
Log(Debug::Error) << "Unexpected EOF";
Log(Debug::Error) << "Unexpected EOF";
return false;
}
std::string content = source.substr(contentStart, contentEnd - contentStart);
@ -234,7 +234,7 @@ namespace Shader
size_t iterNameEnd = source.find_first_of(" \n\r()[].;,", iterNameStart);
if (iterNameEnd == std::string::npos)
{
Log(Debug::Error) << "Unexpected EOF";
Log(Debug::Error) << "Unexpected EOF";
return false;
}
forIterators.push_back(source.substr(iterNameStart, iterNameEnd - iterNameStart));
@ -244,7 +244,7 @@ namespace Shader
source.replace(foundPos, 1, "$");
if (forIterators.empty())
{
Log(Debug::Error) << "endforeach without foreach";
Log(Debug::Error) << "endforeach without foreach";
return false;
}
else
@ -264,7 +264,7 @@ namespace Shader
}
else
{
Log(Debug::Error) << "Undefined " << define;
Log(Debug::Error) << "Undefined " << define;
return false;
}
}