1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 03:40:14 +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); size_t contentEnd = source.find("$endforeach", contentStart);
if (contentEnd == std::string::npos) if (contentEnd == std::string::npos)
{ {
Log(Debug::Error) << "Unexpected EOF"; Log(Debug::Error) << "Unexpected EOF";
return false; return false;
} }
std::string content = source.substr(contentStart, contentEnd - contentStart); std::string content = source.substr(contentStart, contentEnd - contentStart);
@ -234,7 +234,7 @@ namespace Shader
size_t iterNameEnd = source.find_first_of(" \n\r()[].;,", iterNameStart); size_t iterNameEnd = source.find_first_of(" \n\r()[].;,", iterNameStart);
if (iterNameEnd == std::string::npos) if (iterNameEnd == std::string::npos)
{ {
Log(Debug::Error) << "Unexpected EOF"; Log(Debug::Error) << "Unexpected EOF";
return false; return false;
} }
forIterators.push_back(source.substr(iterNameStart, iterNameEnd - iterNameStart)); forIterators.push_back(source.substr(iterNameStart, iterNameEnd - iterNameStart));
@ -244,7 +244,7 @@ namespace Shader
source.replace(foundPos, 1, "$"); source.replace(foundPos, 1, "$");
if (forIterators.empty()) if (forIterators.empty())
{ {
Log(Debug::Error) << "endforeach without foreach"; Log(Debug::Error) << "endforeach without foreach";
return false; return false;
} }
else else
@ -264,7 +264,7 @@ namespace Shader
} }
else else
{ {
Log(Debug::Error) << "Undefined " << define; Log(Debug::Error) << "Undefined " << define;
return false; return false;
} }
} }