This commit is contained in:
Branimir Karadžić
2017-02-11 22:36:20 -08:00
parent d89ca2a950
commit 5da8a80a1f
2 changed files with 62 additions and 87 deletions
+4
View File
@@ -343,6 +343,7 @@ namespace bx
Param param;
// flags
while (' ' == ch
|| '-' == ch
|| '+' == ch
@@ -367,6 +368,7 @@ namespace bx
param.fill = ' ';
}
// width
if ('*' == ch)
{
read(&reader, ch);
@@ -388,6 +390,7 @@ namespace bx
}
}
// .precision
if ('.' == ch)
{
read(&reader, ch);
@@ -450,6 +453,7 @@ namespace bx
read(&reader, ch);
}
// specifier
switch (toLower(ch) )
{
case 'c':