Fixed bug in _ultoa.

This commit is contained in:
Johann Messner 2001-09-07 19:48:31 +00:00 committed by Alexandre Julliard
parent 20560f4535
commit 4014c74e14
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ LPSTR __cdecl _ultoa( unsigned long x, LPSTR buf, INT radix )
*--p = (rem <= 9) ? rem + '0' : rem + 'a' - 10;
x /= radix;
} while (x);
strcpy( buf, p + 1 );
strcpy( buf, p );
return buf;
}