X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstrings%2Ffmt.cpp;h=07484dd61c7fe27d514ee4a325e1d2fe7bbe366d;hp=7026fe0772c690830d7e0811910f0ec006b8c940;hb=faeafc9d652ba6caa350ca95dff14408b036ccfb;hpb=02df44f46e4aaa3989d0ee9c9e2e25f8a808e0ec diff --git a/source/strings/fmt.cpp b/source/strings/fmt.cpp index 7026fe0..07484dd 100644 --- a/source/strings/fmt.cpp +++ b/source/strings/fmt.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspstrings -Copyright © 2006-2008 Mikko Rasa -Distributed under the LGPL -*/ - #include "fmt.h" using namespace std; @@ -33,6 +26,9 @@ void Fmt::parse(const char *s) break; } + if(align==LEFT) + fillc = ' '; + wd = 0; for(; *f; ++f) {