From 0ab4a94a172ad0832b77c1e5e7651eb78eaf8f7b Mon Sep 17 00:00:00 2001 From: Jalon Wong Date: Fri, 25 Sep 2026 13:14:05 -0500 Subject: [PATCH] Format byte output with space between hex values --- App/MainWindow.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/App/MainWindow.cpp b/App/MainWindow.cpp index 9e1dbef..3cac7a7 100644 --- a/App/MainWindow.cpp +++ b/App/MainWindow.cpp @@ -609,11 +609,9 @@ void CMainWindow::slotRead() int nLen = d.size(); for(int i = 0; i < nLen; i++) { - if(i) - szOut += " "; char buff[16] = {0}; unsigned char c = d.at(i); - sprintf(buff, "0x%X", c); + sprintf(buff, "0x%X ", c); szOut += buff; } szText = szOut;