mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +00:00
Use cmdRaw and cmdRawAt in CommentsDialog
This commit is contained in:
parent
b735cb6f23
commit
07a5b4a748
@ -38,7 +38,7 @@ void CommentsDialog::setComment(const QString &comment)
|
||||
|
||||
void CommentsDialog::addOrEditComment(RVA offset, QWidget *parent)
|
||||
{
|
||||
QString oldComment = Core()->cmd("CC." + RAddressString(offset));
|
||||
QString oldComment = Core()->cmdRawAt("CC.", offset);
|
||||
// Remove newline at the end added by cmd
|
||||
oldComment.remove(oldComment.length() - 1, 1);
|
||||
CommentsDialog c(parent);
|
||||
|
Loading…
Reference in New Issue
Block a user