Commit 948b3105 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

left adjust strings

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1426
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 7af934f1
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: gsexx_TWID2.cc,v 1.4 2003-12-17 17:07:44 tforb Exp $
* $Id: gsexx_TWID2.cc,v 1.5 2003-12-23 14:48:34 tforb Exp $
* \author Thomas Forbriger
* \date 29/03/2002
*
......@@ -19,7 +19,7 @@
#define TF_GSEXX_TWID2_CC_VERSION \
"TF_GSEXX_TWID2_CC V1.0 "
#define TF_GSEXX_TWID2_CC_CVSID \
"$Id: gsexx_TWID2.cc,v 1.4 2003-12-17 17:07:44 tforb Exp $"
"$Id: gsexx_TWID2.cc,v 1.5 2003-12-23 14:48:34 tforb Exp $"
#include <ctime>
#include <gsexx.h>
......@@ -57,8 +57,8 @@ std::string TWID2::line() const
{
std::string datatype=subformat();
char wid2line[135];
sprintf(wid2line, "%4s %4.4i/%2.2i/%2.2i %2.2i:%2.2i:%6.3f "
"%5s %3s %4s %3s %8i %11.6f %10.2e %7.3f %6s %5.1f %4.1f\n",
sprintf(wid2line, "%-4s %4.4i/%2.2i/%2.2i %2.2i:%2.2i:%6.3f "
"%-5s %-3s %-4s %-3s %8i %11.6f %10.2e %7.3f %-6s %5.1f %4.1f\n",
TWID2::GSEID, Fyear, Fmonth, Fday,
Fhour, Fminute, Fseconds,
Fstation.substr(0,5).c_str(),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment