diff --git a/gui_internals.c b/gui_internals.c index fdfe8c5..7484aff 100644 --- a/gui_internals.c +++ b/gui_internals.c @@ -35,18 +35,18 @@ int update_internals(WINDOW *win,struct simdata_t *simdata){ break; default: graph_height=1; - graph_height=41; + graph_width=41; break; } int starty,startx,boxwidth; starty=height/2-graph_height/2; startx=width/2-graph_width/2; + int fetch_arrow_enter_y; + int decode_arrow_exit_y; + int exec_arrow_y; switch(simdata->cpu_structure){ case CPU_STRUCTURE_SIMPLE_PIPELINED: - int fetch_arrow_enter_y; - int decode_arrow_exit_y; - int exec_arrow_y; boxwidth=50; /* FETCH BOX */