diff --git a/src/OpenFOAM/db/IOobject/IOobjectI.H b/src/OpenFOAM/db/IOobject/IOobjectI.H index 8e8a05f04b28e20dc48953e3519e82a8da9c15c1..2407507c86ae504348060c968c4a2df89653ef69 100644 --- a/src/OpenFOAM/db/IOobject/IOobjectI.H +++ b/src/OpenFOAM/db/IOobject/IOobjectI.H @@ -38,7 +38,7 @@ inline void Foam::IOobject::writeBanner(Stream& os, bool noHint) { memset(spaces, ' ', 40); - size_t len = strlen(Foam::FOAMbuild); + size_t len = strlen(Foam::FOAMversion); if (len < 38) { spaces[38 - len] = '\0'; @@ -64,7 +64,7 @@ inline void Foam::IOobject::writeBanner(Stream& os, bool noHint) os << "| ========= | |\n" "| \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox |\n" - "| \\\\ / O peration | Version: " << FOAMbuild << spaces << "|\n" + "| \\\\ / O peration | Version: " << FOAMversion << spaces << "|\n" "| \\\\ / A nd | Web: www.OpenFOAM.org |\n" "| \\\\/ M anipulation | |\n" "\\*---------------------------------------------------------------------------*/\n"; diff --git a/src/OpenFOAM/global/argList/argList.C b/src/OpenFOAM/global/argList/argList.C index 23520fd087df5c991ca089076684d5d088fe1d21..a237c0256c2d00e80a065fa8d8f89f0003964e31 100644 --- a/src/OpenFOAM/global/argList/argList.C +++ b/src/OpenFOAM/global/argList/argList.C @@ -286,7 +286,8 @@ Foam::argList::argList if (Pstream::master() && bannerEnabled) { IOobject::writeBanner(Info, true); - Info<< "Exec : " << argListString.c_str() << nl + Info<< "Build : " << Foam::FOAMbuild << nl + << "Exec : " << argListString.c_str() << nl << "Date : " << dateString.c_str() << nl << "Time : " << timeString.c_str() << nl << "Host : " << hostName() << nl