]> git.tdb.fi Git - libs/core.git/blobdiff - source/strings/fmt.cpp
Fix several corner case bugs in lexical_cast
[libs/core.git] / source / strings / fmt.cpp
index ec7a7821bf3d493ca26fcd92458c46d30c3acee6..07484dd61c7fe27d514ee4a325e1d2fe7bbe366d 100644 (file)
@@ -26,6 +26,9 @@ void Fmt::parse(const char *s)
                        break;
        }
 
+       if(align==LEFT)
+               fillc = ' ';
+
        wd = 0;
        for(; *f; ++f)
        {