mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05: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;
|
||||
|
||||
#ifndef KERNEL
|
||||
case 'g':
|
||||
case 'f':
|
||||
// FIXME: Print as float!
|
||||
ret += print_number(putch, bufptr, (int)va_arg(ap, double), leftPad, zeroPad, fieldWidth);
|
||||
|
|
Loading…
Reference in a new issue