fix std::ios::internal usage in Poco::format()

This commit is contained in:
Guenter Obiltschnig 2013-05-25 00:32:30 +02:00
parent 91f2e3827b
commit a0dfc58396

View File

@ -57,8 +57,8 @@ namespace
switch (*itFmt)
{
case '-': str.setf(std::ios::left); ++itFmt; break;
case '+': str.setf(std::ios::showpos | std::ios::internal); ++itFmt; break;
case '0': str.fill('0'); ++itFmt; break;
case '+': str.setf(std::ios::showpos); ++itFmt; break;
case '0': str.fill('0'); str.setf(std::ios::internal); ++itFmt; break;
case '#': str.setf(std::ios::showpoint | std::ios::showbase); ++itFmt; break;
default: isFlag = false; break;
}