mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Fix a small bug in %x when padding is being added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19092 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c46d9867e3
commit
f6791faedd
1 changed files with 2 additions and 0 deletions
|
@ -119,6 +119,7 @@ static int format(
|
|||
|
||||
case 'x':
|
||||
case 'X':
|
||||
pad='0';
|
||||
uval = va_arg (ap, int);
|
||||
do
|
||||
{
|
||||
|
@ -133,6 +134,7 @@ static int format(
|
|||
switch(ch) {
|
||||
case 'x':
|
||||
case 'X':
|
||||
pad='0';
|
||||
ulval = va_arg (ap, long);
|
||||
do
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue