mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 00:27:47 +00:00
printf: Treat %g as %f for now.
This commit is contained in:
parent
aa3df518e7
commit
9f7c11710f
Notes:
sideshowbarker
2024-07-19 13:33:07 +09:00
Author: https://github.com/awesomekling
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…
Add table
Add a link
Reference in a new issue