aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/alu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/coreview/alu.cpp')
-rw-r--r--qtmips_gui/coreview/alu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/coreview/alu.cpp b/qtmips_gui/coreview/alu.cpp
index 2f24210..7644e40 100644
--- a/qtmips_gui/coreview/alu.cpp
+++ b/qtmips_gui/coreview/alu.cpp
@@ -45,7 +45,7 @@ void coreview::Alu::setPos(qreal x, qreal y) {
con_in_a->setPos(x, y + off);
con_in_b->setPos(x, y + HEIGHT - off);
con_out->setPos(x + WIDTH, y + HEIGHT/2);
- con_ctl->setPos(x + WIDTH/2, y + HEIGHT - (WIDTH/2));
+ con_ctl->setPos(x + WIDTH/2, y + (WIDTH/2));
}
const coreview::Connector *coreview::Alu::connector_in_a() const {