Rationalized the indentation of C-preprocessor directives

This commit is contained in:
Henry Weller
2016-02-29 15:42:03 +00:00
parent e287bd2e65
commit 99c000fc94
717 changed files with 1212 additions and 1214 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -847,12 +847,12 @@ int main(int argc, char *argv[])
printAllSets(mesh, Info);
// Read history if interactive
# ifdef HAS_READLINE
#ifdef HAS_READLINE
if (!batch && !read_history((runTime.path()/historyFile).c_str()))
{
Info<< "Successfully read history from " << historyFile << endl;
}
# endif
#endif
// Exit status
@ -929,7 +929,7 @@ int main(int argc, char *argv[])
}
else
{
# ifdef HAS_READLINE
#ifdef HAS_READLINE
{
char* linePtr = readline("readline>");
@ -950,7 +950,7 @@ int main(int argc, char *argv[])
break;
}
}
# else
#else
{
if (!std::cin.good())
{
@ -961,7 +961,7 @@ int main(int argc, char *argv[])
Info<< "Command>" << flush;
std::getline(std::cin, rawLine);
}
# endif
#endif
}
// Strip off anything after #