Commit 4014c74e authored by Johann Messner's avatar Johann Messner Committed by Alexandre Julliard

Fixed bug in _ultoa.

parent 20560f45
...@@ -65,7 +65,7 @@ LPSTR __cdecl _ultoa( unsigned long x, LPSTR buf, INT radix ) ...@@ -65,7 +65,7 @@ LPSTR __cdecl _ultoa( unsigned long x, LPSTR buf, INT radix )
*--p = (rem <= 9) ? rem + '0' : rem + 'a' - 10; *--p = (rem <= 9) ? rem + '0' : rem + 'a' - 10;
x /= radix; x /= radix;
} while (x); } while (x);
strcpy( buf, p + 1 ); strcpy( buf, p );
return buf; return buf;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment