mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
Debugger: 2.9.1.11 Fixed: Right justify signed decimal values.
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user