1
0
Fork 0

Change from Norman Vine to avoid breaking G++ 2.95.

This commit is contained in:
david 2002-01-11 17:55:26 +00:00
parent 73f5eec1b7
commit bc13e2f213

View file

@ -211,7 +211,7 @@ void FGTable::Print(void)
if (Type == tt1D) startRow = 1;
else startRow = 0;
cout.setf(ios::fixed); // set up output stream
ios::fmtflags flags = cout.setf(ios::fixed); // set up output stream
cout.precision(4);
for (int r=startRow; r<=nRows; r++) {
@ -225,7 +225,7 @@ void FGTable::Print(void)
}
cout << endl;
}
cout.setf((ios_base::fmtflags)0, ios::floatfield); // reset
cout.setf(flags); // reset
}
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%