WxDebugger: Move branch line indent
This commit is contained in:
parent
94aff7e47e
commit
116348a877
|
@ -546,7 +546,7 @@ void CCodeView::OnPaint(wxPaintEvent& event)
|
||||||
// UnDecorateSymbolName(desc,temp,255,UNDNAME_COMPLETE);
|
// UnDecorateSymbolName(desc,temp,255,UNDNAME_COMPLETE);
|
||||||
if (!desc.empty())
|
if (!desc.empty())
|
||||||
{
|
{
|
||||||
ctx->DrawText(StrToWxStr(desc), text_col + 45 * char_width, row_y);
|
ctx->DrawText(StrToWxStr(desc), text_col + 44 * char_width, row_y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -570,7 +570,7 @@ void CCodeView::OnPaint(wxPaintEvent& event)
|
||||||
|
|
||||||
for (int i = 0; i < num_branches; ++i)
|
for (int i = 0; i < num_branches; ++i)
|
||||||
{
|
{
|
||||||
int x = text_col + 52 * char_width + (branches[i].srcAddr % 9) * 8;
|
int x = text_col + 60 * char_width + (branches[i].srcAddr % 9) * 8;
|
||||||
branch_path.MoveToPoint(x - 2 * scale, branches[i].src);
|
branch_path.MoveToPoint(x - 2 * scale, branches[i].src);
|
||||||
|
|
||||||
if (branches[i].dst < rc.height + 400 && branches[i].dst > -400)
|
if (branches[i].dst < rc.height + 400 && branches[i].dst > -400)
|
||||||
|
|
Loading…
Reference in New Issue