diff --git a/src/cutter.cpp b/src/cutter.cpp index d0c94f2b..d704cd60 100644 --- a/src/cutter.cpp +++ b/src/cutter.cpp @@ -538,7 +538,7 @@ void CutterCore::resetDefaultAsmOptions() setConfig("asm.lines", Config()->getAsmLines()); setConfig("asm.fcnlines", Config()->getAsmFcnLines()); setConfig("asm.emu", Config()->getAsmEmu()); - setConfig("asm.cmtright", Config()->getAsmCmtRight()); + setConfig("asm.cmt.right", Config()->getAsmCmtRight()); setConfig("asm.varsum", Config()->getAsmVarSum()); setConfig("asm.bytes", Config()->getAsmBytes()); setConfig("asm.bytespace", Config()->getAsmBytespace()); @@ -564,7 +564,7 @@ void CutterCore::saveDefaultAsmOptions() Config()->setAsmLines(getConfigb("asm.lines")); Config()->setAsmFcnLines(getConfigb("asm.fcnlines")); Config()->setAsmEmu(getConfigb("asm.emu")); - Config()->setAsmCmtRight(getConfigb("asm.cmtright")); + Config()->setAsmCmtRight(getConfigb("asm.cmt.right")); Config()->setAsmVarSum(getConfigb("asm.varsum")); Config()->setAsmBytes(getConfigb("asm.bytes")); Config()->setAsmBytespace(getConfigb("asm.bytespace")); diff --git a/src/utils/Configuration.h b/src/utils/Configuration.h index 1996aa07..aff99d80 100644 --- a/src/utils/Configuration.h +++ b/src/utils/Configuration.h @@ -76,8 +76,8 @@ public: bool getAsmEmu() const { return s.value("asm.emu", false).toBool(); } void setAsmEmu(bool v) { s.setValue("asm.emu", v); } - bool getAsmCmtRight() const { return s.value("asm.cmtright", true).toBool(); } - void setAsmCmtRight(bool v) { s.setValue("asm.cmtright", v); } + bool getAsmCmtRight() const { return s.value("asm.cmt.right", true).toBool(); } + void setAsmCmtRight(bool v) { s.setValue("asm.cmt.right", v); } bool getAsmVarSum() const { return s.value("asm.varsum", false).toBool(); } void setAsmVarSum(bool v) { s.setValue("asm.varsum", v); }