summaryrefslogtreecommitdiffstats
path: root/scripts/pybootchartgui
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pybootchartgui')
-rw-r--r--scripts/pybootchartgui/pybootchartgui/draw.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pybootchartgui/pybootchartgui/draw.py b/scripts/pybootchartgui/pybootchartgui/draw.py
index 10f6783d38..e2f9c5dc6c 100644
--- a/scripts/pybootchartgui/pybootchartgui/draw.py
+++ b/scripts/pybootchartgui/pybootchartgui/draw.py
@@ -620,8 +620,8 @@ def render_charts(ctx, options, clip, trace, curr_y, w, h, sec_w):
620 620
621 return curr_y 621 return curr_y
622 622
623def render_processes_chart(ctx, options, trace, curr_y, w, h, sec_w): 623def render_processes_chart(ctx, options, trace, curr_y, width, h, sec_w):
624 chart_rect = [off_x, curr_y+header_h, w, h - curr_y - 1 * off_y - header_h ] 624 chart_rect = [off_x, curr_y+header_h, width, h - curr_y - 1 * off_y - header_h ]
625 625
626 draw_legend_box (ctx, "Configure", \ 626 draw_legend_box (ctx, "Configure", \
627 TASK_COLOR_CONFIGURE, off_x , curr_y + 45, leg_s) 627 TASK_COLOR_CONFIGURE, off_x , curr_y + 45, leg_s)