summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/Debugger
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2021-08-21 06:34:48 +0100
committerGunnar Beutner <gunnar@beutner.name>2021-08-21 08:41:27 +0200
commit4ab8939670d96d6e333b07596b46613ce899e553 (patch)
tree80b212153a5449184bff49a493b7c0e23e7ff96d /Userland/DevTools/HackStudio/Debugger
parent2fb26299bb63f559e78ff66294c461d52efdc414 (diff)
downloadserenity-4ab8939670d96d6e333b07596b46613ce899e553.zip
HackStudio: Fix ds => fs typo in fs changed check in RegistersModel
The changed check for `fs` was accidentally comparing the current `ds` to the previous `fs`.
Diffstat (limited to 'Userland/DevTools/HackStudio/Debugger')
-rw-r--r--Userland/DevTools/HackStudio/Debugger/RegistersModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/Debugger/RegistersModel.cpp b/Userland/DevTools/HackStudio/Debugger/RegistersModel.cpp
index 1d62a924da..ef00f1eba6 100644
--- a/Userland/DevTools/HackStudio/Debugger/RegistersModel.cpp
+++ b/Userland/DevTools/HackStudio/Debugger/RegistersModel.cpp
@@ -89,7 +89,7 @@ RegistersModel::RegistersModel(const PtraceRegisters& current_regs, const Ptrace
m_registers.append({ "ss", current_regs.ss, current_regs.ss != previous_regs.ss });
m_registers.append({ "ds", current_regs.ds, current_regs.ds != previous_regs.ds });
m_registers.append({ "es", current_regs.es, current_regs.es != previous_regs.es });
- m_registers.append({ "fs", current_regs.fs, current_regs.ds != previous_regs.fs });
+ m_registers.append({ "fs", current_regs.fs, current_regs.fs != previous_regs.fs });
m_registers.append({ "gs", current_regs.gs, current_regs.gs != previous_regs.gs });
}