WxDebugger: Move branch line indent

This commit is contained in:
EmptyChaos 2016-10-04 08:28:01 +00:00
parent 94aff7e47e
commit 116348a877
1 changed files with 2 additions and 2 deletions

View File

@ -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)