1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:37:35 +00:00

LibGUI: Add GVariant class and use it for table model data.

This commit is contained in:
Andreas Kling 2019-02-28 16:20:29 +01:00
parent c1f5f2694b
commit 75fabef57b
8 changed files with 152 additions and 6 deletions

View file

@ -191,6 +191,11 @@ one_more:
ret += print_number(putch, bufptr, va_arg(ap, dword), leftPad, zeroPad, fieldWidth);
break;
case 'f':
// FIXME: Print as float!
ret += print_number(putch, bufptr, (int)va_arg(ap, double), leftPad, zeroPad, fieldWidth);
break;
case 'o':
ret += print_octal_number(putch, bufptr, va_arg(ap, dword), leftPad, zeroPad, fieldWidth);
break;