Eval var asm.cmtright => asm.cmt.right

This commit is contained in:
xarkes 2018-02-27 23:04:06 +01:00
parent a738c020f4
commit 5db9722644
2 changed files with 4 additions and 4 deletions

View File

@ -538,7 +538,7 @@ void CutterCore::resetDefaultAsmOptions()
setConfig("asm.lines", Config()->getAsmLines()); setConfig("asm.lines", Config()->getAsmLines());
setConfig("asm.fcnlines", Config()->getAsmFcnLines()); setConfig("asm.fcnlines", Config()->getAsmFcnLines());
setConfig("asm.emu", Config()->getAsmEmu()); setConfig("asm.emu", Config()->getAsmEmu());
setConfig("asm.cmtright", Config()->getAsmCmtRight()); setConfig("asm.cmt.right", Config()->getAsmCmtRight());
setConfig("asm.varsum", Config()->getAsmVarSum()); setConfig("asm.varsum", Config()->getAsmVarSum());
setConfig("asm.bytes", Config()->getAsmBytes()); setConfig("asm.bytes", Config()->getAsmBytes());
setConfig("asm.bytespace", Config()->getAsmBytespace()); setConfig("asm.bytespace", Config()->getAsmBytespace());
@ -564,7 +564,7 @@ void CutterCore::saveDefaultAsmOptions()
Config()->setAsmLines(getConfigb("asm.lines")); Config()->setAsmLines(getConfigb("asm.lines"));
Config()->setAsmFcnLines(getConfigb("asm.fcnlines")); Config()->setAsmFcnLines(getConfigb("asm.fcnlines"));
Config()->setAsmEmu(getConfigb("asm.emu")); Config()->setAsmEmu(getConfigb("asm.emu"));
Config()->setAsmCmtRight(getConfigb("asm.cmtright")); Config()->setAsmCmtRight(getConfigb("asm.cmt.right"));
Config()->setAsmVarSum(getConfigb("asm.varsum")); Config()->setAsmVarSum(getConfigb("asm.varsum"));
Config()->setAsmBytes(getConfigb("asm.bytes")); Config()->setAsmBytes(getConfigb("asm.bytes"));
Config()->setAsmBytespace(getConfigb("asm.bytespace")); Config()->setAsmBytespace(getConfigb("asm.bytespace"));

View File

@ -76,8 +76,8 @@ public:
bool getAsmEmu() const { return s.value("asm.emu", false).toBool(); } bool getAsmEmu() const { return s.value("asm.emu", false).toBool(); }
void setAsmEmu(bool v) { s.setValue("asm.emu", v); } void setAsmEmu(bool v) { s.setValue("asm.emu", v); }
bool getAsmCmtRight() const { return s.value("asm.cmtright", true).toBool(); } bool getAsmCmtRight() const { return s.value("asm.cmt.right", true).toBool(); }
void setAsmCmtRight(bool v) { s.setValue("asm.cmtright", v); } void setAsmCmtRight(bool v) { s.setValue("asm.cmt.right", v); }
bool getAsmVarSum() const { return s.value("asm.varsum", false).toBool(); } bool getAsmVarSum() const { return s.value("asm.varsum", false).toBool(); }
void setAsmVarSum(bool v) { s.setValue("asm.varsum", v); } void setAsmVarSum(bool v) { s.setValue("asm.varsum", v); }