From ab221162d3ea7f83b552f20aa27a9f4013adb89d Mon Sep 17 00:00:00 2001
From: mvandervoord <mvandervoord@e7d17a6e-8845-0410-bbbc-c8efb4fdad7e>
Date: Tue, 7 Sep 2010 13:20:26 +0000
Subject: [PATCH] - 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
---
 src/unity.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/unity.c b/src/unity.c
index c6c942b..921e5d6 100644
--- a/src/unity.c
+++ b/src/unity.c
@@ -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)
     {