mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 13:55:26 +00:00
Eval var asm.cmtright => asm.cmt.right
This commit is contained in:
parent
a738c020f4
commit
5db9722644
@ -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"));
|
||||||
|
@ -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); }
|
||||||
|
Loading…
Reference in New Issue
Block a user