Debugger: 2.9.1.11 Fixed: Right justify signed decimal values.

This commit is contained in:
michaelangel007
2022-01-04 11:21:42 -08:00
parent f3c0e151ab
commit 5e70f7949c
3 changed files with 8 additions and 2 deletions
+4
View File
@@ -1797,6 +1797,10 @@ WORD DrawDisassemblyLine ( int iLine, const WORD nBaseAddress )
if( line.nImmediate )
{
// Right justify to target ADDR:##
size_t len = strlen( line.sImmediateSignedDec );
linerect.left += (2 + (4 - len)) * nDefaultFontWidth;
DebuggerSetColorFG( DebuggerGetColor( FG_INFO_OPERATOR ));
PrintTextCursorX( "#", linerect );