ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/openmd/openmd.cpp
(Generate patch)

Comparing trunk/src/applications/openmd/openmd.cpp (file contents):
Revision 1461 by gezelter, Wed Jul 7 15:54:25 2010 UTC vs.
Revision 1462 by gezelter, Wed Jul 7 15:59:36 2010 UTC

# Line 73 | Line 73 | int main(int argc,char* argv[]){
73    std::string revision;
74    //convert a macro from compiler to a string in c++
75    STR_DEFINE(revision, SVN_REV );
76 +  if (revision.empty()) revision.assign("release");
77 +
78    revision.resize(8,' ');
79  
80   #ifdef IS_MPI

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines