- inlined '0x' printing in UnityPrintNumberHex to avoid unnecessary recursion

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@93 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
mvandervoord
2010-09-07 13:20:26 +00:00
parent d01fe47662
commit ab221162d3

View File

@ -149,7 +149,8 @@ void UnityPrintNumberHex(const _U_UINT number, const char nibbles_to_print)
{
_U_UINT nibble;
char nibbles = nibbles_to_print;
UnityPrint("0x");
UNITY_OUTPUT_CHAR('0');
UNITY_OUTPUT_CHAR('x');
while (nibbles > 0)
{