mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:07:36 +00:00
printf: Treat %g as %f for now.
This commit is contained in:
parent
aa3df518e7
commit
9f7c11710f
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ template<typename PutChFunc>
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#ifndef KERNEL
|
#ifndef KERNEL
|
||||||
|
case 'g':
|
||||||
case 'f':
|
case 'f':
|
||||||
// FIXME: Print as float!
|
// FIXME: Print as float!
|
||||||
ret += print_number(putch, bufptr, (int)va_arg(ap, double), leftPad, zeroPad, fieldWidth);
|
ret += print_number(putch, bufptr, (int)va_arg(ap, double), leftPad, zeroPad, fieldWidth);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue