mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
AK: Allow printing a literal '%' character with the printf family.
This commit is contained in:
parent
7c0a185970
commit
23fe630057
Notes:
sideshowbarker
2024-07-19 14:58:31 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/23fe6300574
1 changed files with 5 additions and 0 deletions
|
@ -267,6 +267,11 @@ one_more:
|
|||
++ret;
|
||||
break;
|
||||
|
||||
case '%':
|
||||
putch(bufptr, '%');
|
||||
++ret;
|
||||
break;
|
||||
|
||||
case 'p':
|
||||
putch(bufptr, '0');
|
||||
putch(bufptr, 'x');
|
||||
|
|
Loading…
Reference in a new issue